kotlinx / ast

Generic AST parsing library for kotlin multiplatform
Apache License 2.0
316 stars 22 forks source link

Unsupported ast node functionType when function type used as generic type #80

Open vchernyshov opened 1 year ago

vchernyshov commented 1 year ago

Hi, I have faced with java.lang.IllegalStateException: found errors: [found unsupported ast node ... in typeProjection! when was parsing Kotlin file that contains function type at generic type: List<(PricingPlan) -> Boolean>. According to source code only KlassIdentifier or KlassModifier allowed but in case of functionType the right will be DefaultAstNode.