diff options
author | Bung <crc32@qq.com> | 2023-08-09 23:17:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 23:17:08 +0800 |
commit | 46e94c83d451895ead4f51686f614d8c9b1e384c (patch) | |
tree | f1f6795dc326cf3cd59d10f9e95a4594c24ccfc1 /tests | |
parent | 5ec81d076b2ddd11655ec1e90938ea08c907ab0b (diff) | |
download | Nim-46e94c83d451895ead4f51686f614d8c9b1e384c.tar.gz |
Fix #5780 (#22428)
* fix #5780
Diffstat (limited to 'tests')
-rw-r--r-- | tests/statictypes/t5780.nim | 3 |
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 |