parent
442841037a
commit
8a5f550491
1 changed files with 3 additions and 8 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# bug #4462
|
||||
import macros
|
||||
import os
|
||||
import strutils
|
||||
|
||||
block:
|
||||
proc foo(t: typedesc) {.compileTime.} =
|
||||
|
|
@ -202,10 +201,6 @@ block: # bug #13081
|
|||
doAssert $j2 == """(x0: 1.3, kind: k2, x2: "abc")"""
|
||||
doAssert $j3 == """(x0: 1.3, kind: k3, x3: "abc2")"""
|
||||
|
||||
when false:
|
||||
# BUG: this doesn't work yet
|
||||
# Error: unhandled exception: 'sons' is not accessible using discriminant 'kind' of type 'TNode' [FieldDefect]
|
||||
discard j1.x1
|
||||
static:
|
||||
# ditto
|
||||
discard j1.x1
|
||||
doAssert j1.x1 == 12
|
||||
static:
|
||||
doAssert j1.x1 == 12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue