PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 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 7 column 8 in BAD_NAME3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_name3.e):
10   thisIsWrong
11       ^      
12------