PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 2an identifier. Yes, this rule is strict, but it is better for
 3all of us to be able to distinguish at a glance a CLASS_NAME from
 4another name. Furthermore, it would be really too bad for example
 5to use `IsEmpty' or `isEmpty' at one place while all other places
 6are using `is_empty'. Finally, this strict constraint will help
 7us to improve error messages of the compiler.
 8
 9Line 4 column 8 in BAD_CLASS2 (/home/colnet/SmartEiffel/work/lib_test3/bad_class2.e):
10class dEferred BAD_CLASS2
11       ^                 
12------