diff --git a/std/jule/parser/type.jule b/std/jule/parser/type.jule index 1b089424b..6303ba817 100644 --- a/std/jule/parser/type.jule +++ b/std/jule/parser/type.jule @@ -420,7 +420,7 @@ impl typeBuilder { } unsafe fn step(mut self): &ast::Type { - token := self.tokens[*self.i] + mut token := self.tokens[*self.i] match token.Id { | token::Id.Ident: ret self.buildIdent() @@ -446,6 +446,7 @@ impl typeBuilder { ret self.buildSptr() | token::Id.DblAmper: ret &ast::Type{ + Token: token, Kind: &ast::SptrType{ Elem: self.buildSptr(), },