/test/language/error_warning_msg/bad_export1.msg

http://github.com/tybor/Liberty · Unknown · 40 lines · 33 code · 7 blank · 0 comment · 0 complexity · 8478ea9be2e91414d3ed41c53b4098e9 MD5 · raw file

  1. ****** Error: Forbidden call (i.e. exportation rules violated) when the type of Current is AUX_EXPORT1B. (See the next error report for details.)
  2. Line 12 column 16 in AUX_EXPORT1B (/home/r/Liberty/test/language/error_warning_msg/aux_export1b.e):
  3. other.make -- It is right to reject this :-)
  4. ^
  5. ------
  6. ****** Warning: The client list computed from the "export" clauses is narrower than the one from the conforming parent(s) for AUX_EXPORT1A.`make'. This can lead to catcalls! The final export list is {}.
  7. The source lines relevant to this message are the following:
  8. Line 7 column 14 in AUX_EXPORT1A (/home/r/Liberty/test/language/error_warning_msg/aux_export1a.e):
  9. export {NONE} make
  10. ^
  11. Line 5 column 9 in AUX_EXPORT1C (/home/r/Liberty/test/language/error_warning_msg/aux_export1c.e):
  12. feature {ANY}
  13. ^
  14. ------
  15. ****** Warning: Since february 2006, for SmartEiffel release 2.3, the old legacy NONE type mark is obsolete. Keep in mind that an empty class name list like {} do indicate no exportation at all, hence making NONE unuseful and probably misleading for newcomers. So, just remove this NONE class name right now. Please update your code now.
  16. Line 7 column 15 in AUX_EXPORT1A (/home/r/Liberty/test/language/error_warning_msg/aux_export1a.e):
  17. export {NONE} make
  18. ^
  19. ------
  20. ****** Warning: Since february 2006, for SmartEiffel release 2.3, the old legacy NONE type mark is obsolete. Keep in mind that an empty class name list such as {} does indicate no exportation at all, hence making NONE useless and probably misleading for newcomers. So, just remove this NONE class name now. Please update your code now.
  21. Line 7 column 15 in AUX_EXPORT1A (/home/r/Liberty/test/language/error_warning_msg/aux_export1a.e):
  22. export {NONE} make
  23. ^
  24. ------
  25. ****** Fatal Error: This feature is only exported to {}.
  26. The source lines relevant to this message are the following:
  27. Line 7 column 14 in AUX_EXPORT1A (/home/r/Liberty/test/language/error_warning_msg/aux_export1a.e):
  28. export {NONE} make
  29. ^
  30. Line 6 column 4 in AUX_EXPORT1C (/home/r/Liberty/test/language/error_warning_msg/aux_export1c.e):
  31. make
  32. ^
  33. ------