parser: produce static expressions as new target

This commit is contained in:
Ryan Chandler 2022-12-05 00:23:38 +00:00
parent f65d8eefc0
commit e8b58ba52b
No known key found for this signature in database
GPG Key ID: F113BCADDB3B0CCA

View File

@ -1042,7 +1042,7 @@ impl Parser {
state.next(); state.next();
e e
} }
TokenKind::Static if matches!(state.peek.kind, TokenKind::DoubleColon) => { TokenKind::Static => {
state.next(); state.next();
Expression::Static Expression::Static
} }