/test/language/error_warning_msg/bad_class2.msg

http://github.com/tybor/Liberty · Unknown · 12 lines · 11 code · 1 blank · 0 comment · 0 complexity · 8e0f10389b09196f9a9062a806c13007 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 4 column 8 in BAD_CLASS2 (/home/colnet/SmartEiffel/work/lib_test3/bad_class2.e):
  9. class dEferred BAD_CLASS2
  10. ^
  11. ------