Add this as a self type (#1708)

This commit is contained in:
Jen Basch authored and GitHub committed 2026-09-02 09:04:15 -07:00
1 parent 1208fa9438
commit 2b697015c7
305 files changed
+1487 -561

No files matched your search

+8
View File
@@ -107,6 +107,9 @@ const bytesType: DeclaredType = DeclaredType(Class(Bytes))
/// A mirror for the `module` type.
external const moduleType: ModuleType
/// A mirror for the `this` type.
external const thisType: ThisType
/// A mirror for the `unknown` type.
external const unknownType: UnknownType
@@ -431,6 +434,11 @@ external class FunctionType extends Type {
/// [moduleType] is an instance of this class.
class ModuleType extends Type
/// The `this` type.
///
/// [thisType] is an instance of this class.
class ThisType extends Type
/// The `unknown` type.
///
/// [unknownType] is an instance of this class.