summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorBung <crc32@qq.com>2023-08-09 23:17:08 +0800
committerGitHub <noreply@github.com>2023-08-09 23:17:08 +0800
commit46e94c83d451895ead4f51686f614d8c9b1e384c (patch)
treef1f6795dc326cf3cd59d10f9e95a4594c24ccfc1 /tests
parent5ec81d076b2ddd11655ec1e90938ea08c907ab0b (diff)
downloadNim-46e94c83d451895ead4f51686f614d8c9b1e384c.tar.gz
Fix #5780 (#22428)
* fix #5780
Diffstat (limited to 'tests')
-rw-r--r--tests/statictypes/t5780.nim3
1 files changed, 3 insertions, 0 deletions
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