mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 14:23:45 +00:00
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
11 lines
157 B
Nim
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")
|