/test/language/error_warning_msg/bad_void3.msg

http://github.com/tybor/Liberty · Unknown · 19 lines · 17 code · 2 blank · 0 comment · 0 complexity · 34e862ef4bbaf33cc0635c27f81696bc MD5 · raw file

  1. ****** Warning: Actually, `Void' has no accurate type. Keep in
  2. mind that `Void' is just a way to denote the default value for
  3. a type or to denote the lack of an object. One can use `Void'
  4. as the right-hand-side of an assignment or to replace some actual
  5. argument. (See "http://wiki.liberty-eiffel.org/index.php/Void"
  6. for details.) At time being, the type ANY will be used for this
  7. occurrence `Void'. Please update your code with a more accurate
  8. expression, may be by adding an extra non-initialized local variable.
  9. Line 14 column 17 in BAD_VOID3 (/home/et/Liberty/test/language/error_warning_msg/bad_void3.e):
  10. c := <<Void>>
  11. ^
  12. ------
  13. ****** Fatal Error: Cannot create an ARRAY with only `Void' items.
  14. Line 14 column 15 in BAD_VOID3 (/home/et/Liberty/test/language/error_warning_msg/bad_void3.e):
  15. c := <<Void>>
  16. ^
  17. ------