summaryrefslogtreecommitdiff
path: root/tests/compute/implicit-this-expr.slang.expected.txt
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-10-30 10:03:52 -0700
committerTim Foley <tfoley@nvidia.com>2017-10-30 10:26:22 -0700
commit11f44241ffef478560eaba79af330c16f0bc8d69 (patch)
tree5f7b06149f5d6e0af9241db8f60b28b9c07785f1 /tests/compute/implicit-this-expr.slang.expected.txt
parent42f1cff5c1471e6bc3988a9810c20b8bcc1c84dd (diff)
Allow for implicit `this` expressions.
- When peforming ordinary lookup, if the container declaration for a scope is an aggregate type or `extension` decl, then use a "breadcrumb" to make sure that we use a `this` expression as the base of any resulting declaration reference - Add a test case for implicit `this` usage - Update constrained generic test case to use implicit `this` for member reference, as was originally intended
Diffstat (limited to 'tests/compute/implicit-this-expr.slang.expected.txt')
-rw-r--r--tests/compute/implicit-this-expr.slang.expected.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/compute/implicit-this-expr.slang.expected.txt b/tests/compute/implicit-this-expr.slang.expected.txt
new file mode 100644
index 000000000..f73cfe6c3
--- /dev/null
+++ b/tests/compute/implicit-this-expr.slang.expected.txt
@@ -0,0 +1,4 @@
+0
+40000000
+40C00000
+41400000