From 5ea4dea4ead3aed4b3b9a7b6883827fefebbcdb3 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Fri, 6 Nov 2020 16:49:51 +0100 Subject: [PATCH] Closes #12897 (#15867) (cherry picked from commit 60c364fb224a8b55dc7cacc5a589c569cf202ec5) --- tests/statictypes/tstatictypes.nim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/statictypes/tstatictypes.nim b/tests/statictypes/tstatictypes.nim index b5c45850a1..359ae4c9fe 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 +