Files
Nim/tests/errmsgs/t9908_01.nim
metagn a73ae3e066 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
2022-09-14 18:30:15 +02:00

11 lines
157 B
Nim

discard """
errormsg: "ordinal type expected; given: string"
line: 10
"""
# https://github.com/nim-lang/Nim/issues/9908
type
X = enum
a = ("a", "b")