diff options
author | LemonBoy <LemonBoy@users.noreply.github.com> | 2018-08-22 15:49:43 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-22 15:49:43 +0200 |
commit | d94ee75d1cc4ce7caad014944f943cdfbae49715 (patch) | |
tree | ebead6082012a93e29b7ee913afd7bcf8d9683f1 /tests/proc | |
parent | d0f4a929e096a4924b6af8be702313cc5a5a9f5b (diff) | |
download | Nim-d94ee75d1cc4ce7caad014944f943cdfbae49715.tar.gz |
Pick skParam symbols when resolving type idents (#8720)
Fixes #8357
Diffstat (limited to 'tests/proc')
-rw-r--r-- | tests/proc/t8357.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/proc/t8357.nim b/tests/proc/t8357.nim new file mode 100644 index 000000000..350ebe356 --- /dev/null +++ b/tests/proc/t8357.nim @@ -0,0 +1,10 @@ +discard """ + output: "Hello" +""" + +type + T = ref int + +let r = new(string) +r[] = "Hello" +echo r[] |