Skip to content

Commit

Permalink
WIP: reintroduce Self types
Browse files Browse the repository at this point in the history
This fixes #643.

Changelog: added
  • Loading branch information
yorickpeterse committed Feb 6, 2025
1 parent a3a15ed commit c2ee94a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/src/type_check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ impl<'a> DefineTypeSignature<'a> {
return TypeRef::Error;
}
}
"Self" => kind.into_type_ref(self.scope.self_type),
name => {
if let Some(ctype) = self.resolve_foreign_type(
None,
Expand Down

0 comments on commit c2ee94a

Please sign in to comment.