revert-complexity #7

Merged
sashakoshka merged 34 commits from revert-complexity into main 2022-09-29 14:06:54 -06:00
Showing only changes of commit 06f9b5b71c - Show all commits

View File

@ -8,6 +8,7 @@ func (parser *ParsingOperation) parseType () (what Type, err error) {
err = parser.expect(lexer.TokenKindName, lexer.TokenKindLBrace)
if err != nil { return }
what.location = parser.token.Location()
what.kind = TypeKindBasic
if parser.token.Is(lexer.TokenKindLBrace) {
what.kind = TypeKindPointer