Skip to content

v0.17.1

Choose a tag to compare

@odvcencio odvcencio released this 17 May 20:37

Kotlin parser compatibility patch for downstream Gazelle consumers.

Fixed

  • Kotlin dotted package and import headers parse without errors after the grammar refresh, including wildcard imports and files that combine package, import, and fun interface declarations.
  • Kotlin import-only external tokens can relex through shared package/import parser states when the winning branch needs ordinary DFA tokens such as . or import.

Validation

  • go test ./grammars -run 'TestKotlinDottedPackageAndImportsParseWithoutErrors|TestKotlinFunInterfaceWithPackageImportParsesWithoutErrors|TestKotlinSwiftExternalScannerSpecs|TestLanguageBoundExternalScannersBindBySymbolName|TestExternalScannerBindingFallbackUsesUnmappedExternalSymbols' -count=1
  • go test . -run '^$' -count=1