PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/error_warning_msg/bad_if1.msg

http://github.com/tybor/Liberty
Unknown | 20 lines | 17 code | 3 blank | 0 comment | 0 complexity | c9afb36b26d19479a54a38a25b0e5bda MD5 | raw file
 1****** Warning: Added missing "then" keyword.
 2
 3Line 13 column 10 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
 4         end
 5         ^  
 6------
 7****** Error: "if" (or "elseif" as well) must be followed by a
 8BOOLEAN expression.
 9
10Line 12 column 10 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
11         if 1
12         ^   
13------
14****** Fatal Error: The declaration type of this expression is
15INTEGER_8 (this is not BOOLEAN).
16
17Line 12 column 13 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
18         if 1
19            ^
20------