/test/language/error_warning_msg/bad_assignment3.msg

http://github.com/tybor/Liberty · Unknown · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · b197717def7b77ef3d86b305683434a5 MD5 · raw file

  1. ****** Fatal Error: Bad assignment. Cannot assign `["foo", "bar"]'
  2. which is of type TUPLE[STRING,STRING] into `any' which is of type
  3. TUPLE[STRING,STRING,ANY].
  4. The source lines relevant to this message are the following:
  5. Line 15 columns 10, 17 in BAD_ASSIGNMENT3 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_assignment3.e):
  6. any := ["foo", "bar"]
  7. ^ ^
  8. ------