PageRenderTime 30ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/test/language/error_warning_msg/bad_identifier1.msg

http://github.com/tybor/Liberty
Unknown | 12 lines | 11 code | 1 blank | 0 comment | 0 complexity | 9b192178be7bbed224fd4c3eab329429 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 15 column 13 in BAD_IDENTIFIER1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_identifier1.e):
10         badIdentifier: STRING
11            ^                 
12------