Fixes #12379 (#12591) [backport]

This commit is contained in:
Clyybber 2019-11-04 20:57:14 +01:00 • committed by Andreas Rumpf
commit cf5c3f2400
4 changed files with 21 additions and 19 deletions

View file

@ -1,6 +1,6 @@
discard """
errormsg: "branch initialization with a runtime discriminator only supports ordinal types with 2^16 elements or less."
line: 13
errormsg: "low(kind) must be 0 for discriminant"
line: 7
"""
type
HoledObj = object