From 46e94c83d451895ead4f51686f614d8c9b1e384c Mon Sep 17 00:00:00 2001 From: Bung Date: Wed, 9 Aug 2023 23:17:08 +0800 Subject: Fix #5780 (#22428) * fix #5780 --- tests/statictypes/t5780.nim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/statictypes/t5780.nim (limited to 'tests') diff --git a/tests/statictypes/t5780.nim b/tests/statictypes/t5780.nim new file mode 100644 index 000000000..85548aaad --- /dev/null +++ b/tests/statictypes/t5780.nim @@ -0,0 +1,3 @@ +type StringArray[N:int] = array[N, string] +let a = ["one", "two"] +doAssert a is StringArray -- cgit 1.4.1-2-gfad0