/test/language/error_warning_msg/bad_call3.msg

http://github.com/tybor/Liberty · Unknown · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · 8679a5ff773c529e73feef2fa730a74b MD5 · raw file

  1. ****** Error: Feature found is not a procedure.
  2. The source lines relevant to this message are the following:
  3. Line 14 column 14 in BAD_CALL3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_call3.e):
  4. foo.max(foo)
  5. ^
  6. Line 116 column 4 in COMPARABLE (/home/cadrian/Workspace/Dev/Liberty/src/lib/abilities/comparable.e):
  7. max (other: like Current): like Current
  8. ^
  9. ------
  10. ****** Fatal Error: This call has a result value (and you must
  11. use it).
  12. Line 14 column 14 in BAD_CALL3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_call3.e):
  13. foo.max(foo)
  14. ^
  15. ------