switch invalid term from type to domain error

This commit is contained in:
Bennet Bleßmann
2024-08-04 15:16:37 +02:00
parent deed6fb984
commit 058b9c5e51
3 changed files with 3 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ $ scryer-prolog -f --no-add-history tests-pl/invalid_decl5.pl -g halt
```trycmd
$ scryer-prolog -f --no-add-history tests-pl/invalid_decl6.pl -g halt
error(type_error(directive,todo_insert_invalid_term_here),load/1).
error(domain_error(directive,todo_insert_invalid_term_here),load/1).
```