PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/error_warning_msg/bad_prefix_minus1.msg

http://github.com/tybor/Liberty
Unknown | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | c081a8045d769d5acd2e7dc90765a801 MD5 | raw file
 1****** Fatal Error: Because of the usual low priority of prefix
 2minus, `-foo.bar' is actually equivalent to `-(foo.bar)'. In order
 3to avoid a possible mistake here, it is mandatory for you to add
 4extra parentheses here. You can wrap `-1' or the whole expression
 5as well. It's up to you to decide now.
 6
 7Line 14 column 15 in BAD_PREFIX_MINUS1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_prefix_minus1.e):
 8         i := -1.abs
 9              ^     
10------