summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h
index d32c4de15..0b5a38631 100644
--- a/source/slang/syntax.h
+++ b/source/slang/syntax.h
@@ -859,6 +859,12 @@ namespace Slang
// lookup was able to find a member through type `U`
// instead.
Constraint,
+
+ // The lookup process considered a member of an
+ // enclosing type as being in scope, so that any
+ // reference to that member needs to use a `this`
+ // expression as appropriate.
+ This,
};
// The kind of lookup step that was performed