Revert "test cases for the new features"
This reverts commit 66653e8f14.
This commit is contained in:
parent
66653e8f14
commit
e1b668c868
4 changed files with 4 additions and 78 deletions
|
|
@ -1,17 +0,0 @@
|
|||
discard """
|
||||
file: "tstaticparams.nim"
|
||||
output: "abracadabra\ntest"
|
||||
"""
|
||||
|
||||
type
|
||||
TFoo[T; Val: expr[string]] = object
|
||||
data: array[4, T]
|
||||
|
||||
proc takeFoo(x: TFoo) =
|
||||
echo "abracadabra"
|
||||
echo TFoo.Val
|
||||
|
||||
var x: TFoo[int, "test"]
|
||||
|
||||
takeFoo(x)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue