diff --git a/parser/type-notation.go b/parser/type-notation.go index 35ef99d..7cdfd08 100644 --- a/parser/type-notation.go +++ b/parser/type-notation.go @@ -137,8 +137,10 @@ func (parser *ParsingOperation) parseObjectDefaultValue () ( for { err = parser.expect(lexer.TokenKindDot) if err != nil { return } - parser.nextToken() + parser.nextToken(lexer.TokenKindName, lexer.TokenKindPermission) if err != nil { return } + + // TODO: if name, parse parent default. if permission, } return