Add this as a self type (#1708)

This commit is contained in:
Jen Basch
2026-09-02 09:04:15 -07:00
committed by GitHub
parent 1208fa9438
commit 2b697015c7
305 changed files with 1487 additions and 561 deletions
+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.