/test/language/error_warning_msg/bad_name3.msg

http://github.com/tybor/Liberty · Unknown · 12 lines · 11 code · 1 blank · 0 comment · 0 complexity · 1829943e7ad5e3cf9f66971dcf9639c4 MD5 · raw file

  1. ****** Fatal Error: Cannot use an uppercase letter inside such
  2. an identifier. Yes, this rule is strict, but it is better for
  3. all of us to be able to distinguish at a glance a CLASS_NAME from
  4. another name. Furthermore, it would be really too bad for example
  5. to use `IsEmpty' or `isEmpty' at one place while all other places
  6. are using `is_empty'. Finally, this strict constraint will help
  7. us to improve error messages of the compiler.
  8. Line 7 column 8 in BAD_NAME3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_name3.e):
  9. thisIsWrong
  10. ^
  11. ------