diff options
Diffstat (limited to 'tests/objvariant/tadrdisc.nim')
-rw-r--r-- | tests/objvariant/tadrdisc.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/objvariant/tadrdisc.nim b/tests/objvariant/tadrdisc.nim index 1afe7d04f..5e4e39a44 100644 --- a/tests/objvariant/tadrdisc.nim +++ b/tests/objvariant/tadrdisc.nim @@ -1,9 +1,9 @@ discard """ + errormsg: "type mismatch: got <TKind>" file: "tadrdisc.nim" line: 20 - errormsg: "type mismatch: got (TKind)" """ -# Test that the address of a dicriminants cannot be taken +# Test that the address of a discriminants cannot be taken type TKind = enum ka, kb, kc |