diff options
author | Clyybber <darkmine956@gmail.com> | 2020-11-06 16:49:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 23:49:51 +0800 |
commit | 60c364fb224a8b55dc7cacc5a589c569cf202ec5 (patch) | |
tree | ca3330d98700f56c240e3c1e3aa6e44b9c8f6b0a | |
parent | fb60e35a5495c530f8cf5c7a8cc3005495d089f8 (diff) | |
download | Nim-60c364fb224a8b55dc7cacc5a589c569cf202ec5.tar.gz |
Closes #12897 (#15867)
-rw-r--r-- | tests/statictypes/tstatictypes.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/statictypes/tstatictypes.nim b/tests/statictypes/tstatictypes.nim index b5c45850a..359ae4c9f 100644 --- a/tests/statictypes/tstatictypes.nim +++ b/tests/statictypes/tstatictypes.nim @@ -340,3 +340,12 @@ var x:G[2,3,int] x.newG(4) var y = newG[2,3,int](4) + +#------------------------------------------------------------------------------------------ +# issue #12897 + +type + TileCT[n: static int] = object + a: array[n, int] + Tile = TileCT #Commenting this out to make it work + |