Whole Freaking Thing parses

This commit is contained in:
Sasha Koshka 2022-09-16 18:29:39 -04:00
parent ff04433ad5
commit f2f6e2f3d3

View File

@ -286,6 +286,8 @@ func (parser *ParsingOperation) parseObjectNewMember () (
// get type
err = parser.nextToken(lexer.TokenKindColon)
if err != nil { return }
err = parser.nextToken(lexer.TokenKindName, lexer.TokenKindLBrace)
if err != nil { return }
member.what, err = parser.parseType()
if err != nil { return }