summaryrefslogtreecommitdiff
path: root/tests/compute/generics-syntax-2.slang.expected.txt
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-12-27 21:51:56 -0500
committerYong He <yonghe@outlook.com>2017-12-27 21:51:56 -0500
commiteaf3d840b16a8646ab4545487679c869eef500b7 (patch)
tree3ae6f64ec51a2714ac06310723a1c320e91e5974 /tests/compute/generics-syntax-2.slang.expected.txt
parentd55b56bc804f25d8390f1dc6b09ff9116ffcaf29 (diff)
Using a visitor to systematically replace lookup scopes of generic function's return type expression.
fixes #336 Add a `ReplaceScopeVisitor` to replace the scopes of the return type expression tree to use the generic decl's scope instead of module's scope after parser has determined the decl is a generic function header decl.
Diffstat (limited to 'tests/compute/generics-syntax-2.slang.expected.txt')
-rw-r--r--tests/compute/generics-syntax-2.slang.expected.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/compute/generics-syntax-2.slang.expected.txt b/tests/compute/generics-syntax-2.slang.expected.txt
new file mode 100644
index 000000000..98798bd61
--- /dev/null
+++ b/tests/compute/generics-syntax-2.slang.expected.txt
@@ -0,0 +1,4 @@
+0
+3F800000
+40000000
+40400000 \ No newline at end of file