diff --git a/gradle.properties b/gradle.properties index 3135fdb..a27d1e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,5 @@ +org.gradle.parallel=true +org.gradle.configuration-cache=true +org.gradle.caching=true org.gradle.warning.mode=none kotlin.stdlib.default.dependency=false -kotlin.experimental.tryK2=true diff --git a/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt b/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt index 2d016bb..9688c7d 100644 --- a/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt +++ b/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt @@ -46,7 +46,7 @@ class Parser(source: TokenSource, attribution: NodeAttribution) : } if (expression is SymbolReference && peek(TokenType.Equals)) { - val symbolReference = expression as SymbolReference + val symbolReference = expression expression = guarded(NodeType.SetAssignment) { attribution.adopt(expression) expect(TokenType.Equals)