summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2022-09-14 19:30:15 +0300
committerGitHub <noreply@github.com>2022-09-14 18:30:15 +0200
commita73ae3e066caecb7a891de87cf7c004805f96ff0 (patch)
tree2cc5172af6584e6546c9f314abfbd908806ac266 /tests/errmsgs
parent2140d05f34f7976ed7f7058baa952490ee3fb859 (diff)
downloadNim-a73ae3e066caecb7a891de87cf7c004805f96ff0.tar.gz
minor improvements to follow up recent PRs (#20342)
put mOpenArrayToSeq in compile-time evaluation whitelist
(it was mNone before which was whitelisted), homogenize
"ordinal type expected" errors, put overloadable enums
in non-experimental manual
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/t9908_01.nim2
-rw-r--r--tests/errmsgs/t9908_02.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/t9908_01.nim b/tests/errmsgs/t9908_01.nim
index b9d37b67b..99bc8237d 100644
--- a/tests/errmsgs/t9908_01.nim
+++ b/tests/errmsgs/t9908_01.nim
@@ -1,5 +1,5 @@
 discard """
-errormsg: "ordinal type expected"
+errormsg: "ordinal type expected; given: string"
 line: 10
 """
 
diff --git a/tests/errmsgs/t9908_02.nim b/tests/errmsgs/t9908_02.nim
index 7ff3d1ff7..4fc60b3df 100644
--- a/tests/errmsgs/t9908_02.nim
+++ b/tests/errmsgs/t9908_02.nim
@@ -1,5 +1,5 @@
 discard """
-errormsg: "ordinal type expected"
+errormsg: "ordinal type expected; given: float"
 line: 10
 """