summary refs log tree commit diff stats
path: root/tests/proc
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-08-22 15:49:43 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-22 15:49:43 +0200
commitd94ee75d1cc4ce7caad014944f943cdfbae49715 (patch)
treeebead6082012a93e29b7ee913afd7bcf8d9683f1 /tests/proc
parentd0f4a929e096a4924b6af8be702313cc5a5a9f5b (diff)
downloadNim-d94ee75d1cc4ce7caad014944f943cdfbae49715.tar.gz
Pick skParam symbols when resolving type idents (#8720)
Fixes #8357
Diffstat (limited to 'tests/proc')
-rw-r--r--tests/proc/t8357.nim10
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[]