Fix some overqualifications due to IDE renaming.

This commit is contained in:
2023-09-04 02:38:09 -07:00
parent 3545aa076f
commit 4aa516f0fb
5 changed files with 11 additions and 5 deletions

View File

@ -198,7 +198,9 @@ class Parser(source: PeekableSource<Token>, val attribution: NodeAttribution) {
expect(TokenType.Func)
val name = readSymbolRaw()
expect(TokenType.LeftParentheses)
val arguments = collect(TokenType.RightParentheses, TokenType.Comma) { readSymbolRaw() }
val arguments = collect(TokenType.RightParentheses, TokenType.Comma) {
readSymbolRaw()
}
expect(TokenType.RightParentheses)
FunctionDefinition(modifiers, name, arguments, readBlock())
}