/test/language/error_warning_msg/bad_constraint2.msg

http://github.com/tybor/Liberty · Unknown · 23 lines · 19 code · 4 blank · 0 comment · 0 complexity · 216e88f0821e341b9163d03c00a4c196 MD5 · raw file

  1. ****** Error: Actual generic derivation CHARACTER must insert
  2. NUMERIC which is the generic constraint.
  3. The source lines relevant to this message are the following:
  4. Line 12 column 13 in BAD_CONSTRAINT2 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_constraint2.e):
  5. a: AUX_CONSTRAINT_A[CHARACTER]
  6. ^
  7. Line 4 column 30 in AUX_CONSTRAINT_A (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_constraint_a.e):
  8. class AUX_CONSTRAINT_A[X_ -> NUMERIC]
  9. ^
  10. ------
  11. ****** Fatal Error: Constraint Generic Violation.
  12. The source lines relevant to this message are the following:
  13. Line 12 column 13 in BAD_CONSTRAINT2 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_constraint2.e):
  14. a: AUX_CONSTRAINT_A[CHARACTER]
  15. ^
  16. Line 4 column 24 in AUX_CONSTRAINT_A (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/aux_constraint_a.e):
  17. class AUX_CONSTRAINT_A[X_ -> NUMERIC]
  18. ^
  19. ------