/test/language/error_warning_msg/bad_hash_code1.msg

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

  1. ****** Error: Actual generic derivation AUX_HASH_CODE1 must insert
  2. HASHABLE which is the generic constraint.
  3. The source lines relevant to this message are the following:
  4. Line 13 column 13 in BAD_HASH_CODE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_hash_code1.e):
  5. d: HASHED_DICTIONARY[INTEGER,AUX_HASH_CODE1]
  6. ^
  7. Line 4 column 35 in HASHED_DICTIONARY (/home/cadrian/Workspace/Dev/Liberty/src/lib/storage/dictionary/hashed_dictionary.e):
  8. class HASHED_DICTIONARY[V_, K_ -> HASHABLE]
  9. ^
  10. ------
  11. ****** Fatal Error: Constraint Generic Violation.
  12. The source lines relevant to this message are the following:
  13. Line 13 column 13 in BAD_HASH_CODE1 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_hash_code1.e):
  14. d: HASHED_DICTIONARY[INTEGER,AUX_HASH_CODE1]
  15. ^
  16. Line 4 column 29 in HASHED_DICTIONARY (/home/cadrian/Workspace/Dev/Liberty/src/lib/storage/dictionary/hashed_dictionary.e):
  17. class HASHED_DICTIONARY[V_, K_ -> HASHABLE]
  18. ^
  19. ------