/test/language/error_warning_msg/bad_inspect3.msg

http://github.com/tybor/Liberty · Unknown · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · f1d469b1960e7ce70bbd2551d2f1fa91 MD5 · raw file

  1. ****** Fatal Error: Only manifest strings are accepted in "when"
  2. clauses of "inspect" (in order to ensure that the STRING won't
  3. change at runtime). Note that even a constant of type STRING can
  4. have its content changed at runtime.
  5. The source lines relevant to this message are the following:
  6. Line 12 column 10 in BAD_INSPECT3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_inspect3.e):
  7. inspect "toto"
  8. ^
  9. Line 13 column 15 in BAD_INSPECT3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_inspect3.e):
  10. when toto then
  11. ^
  12. ------