/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. Line 13 column 10 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
  3. end
  4. ^
  5. ------
  6. ****** Error: "if" (or "elseif" as well) must be followed by a
  7. BOOLEAN expression.
  8. Line 12 column 10 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
  9. if 1
  10. ^
  11. ------
  12. ****** Fatal Error: The declaration type of this expression is
  13. INTEGER_8 (this is not BOOLEAN).
  14. Line 12 column 13 in BAD_IF1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_if1.e):
  15. if 1
  16. ^
  17. ------