/test/language/error_warning_msg/bad_to_pointer.msg

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

  1. ****** Error: Invalid usage of feature `to_pointer' of class ANY.
  2. (The target which is of type REAL_64 cannot be converted to a
  3. memory address.)
  4. The source lines relevant to this message are the following:
  5. Line 421 column 4 in ANY (/home/cadrian/Workspace/Dev/Liberty/src/lib/kernel/any.e):
  6. to_pointer: POINTER
  7. ^
  8. Line 14 column 15 in BAD_TO_POINTER (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_to_pointer.e):
  9. p := d.to_pointer
  10. ^
  11. ------
  12. ****** 1 error.