Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeMapping error on FirTypeAlias #428

Open
traceyyoshima opened this issue Nov 16, 2023 · 0 comments
Open

TypeMapping error on FirTypeAlias #428

traceyyoshima opened this issue Nov 16, 2023 · 0 comments
Assignees
Labels

Comments

@traceyyoshima
Copy link
Contributor

traceyyoshima commented Nov 16, 2023

"java.lang.UnsupportedOperationException: Unsupported FirDeclaration: org.jetbrains.kotlin.fir.declarations.impl.FirTypeAliasImpl
  org.openrewrite.kotlin.KotlinTypeMapping.classType(KotlinTypeMapping.kt:394)
  org.openrewrite.kotlin.KotlinTypeMapping.type(KotlinTypeMapping.kt:102)
  org.openrewrite.kotlin.KotlinTypeMapping.type(KotlinTypeMapping.kt:169)
  org.openrewrite.kotlin.KotlinTypeMapping.type(KotlinTypeMapping.kt:82)
  org.openrewrite.kotlin.KotlinTypeMapping.methodInvocationType(KotlinTypeMapping.kt:722)
  org.openrewrite.kotlin.KotlinTypeMapping.methodInvocationType(KotlinTypeMapping.kt:637)
  org.openrewrite.kotlin.internal.PsiElementAssociations.methodInvocationType(PsiElementAssociations.kt:113)
  org.openrewrite.kotlin.internal.KotlinTreeParserVisitor.methodInvocationType(KotlinTreeParserVisitor.java:3310)
  ..."

Reproduced on Kotlin/dataframe:
core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/puzzles/DateTestUtils.kt

@traceyyoshima traceyyoshima added the bug Something isn't working label Nov 16, 2023
@traceyyoshima traceyyoshima self-assigned this Nov 16, 2023
@traceyyoshima traceyyoshima changed the title TypeMapping error on FirTypeAlias TypeMapping error on FirTypeAlias (Priority low: 1 occurrence) Nov 16, 2023
@timtebeek timtebeek moved this to Backlog in OpenRewrite Nov 17, 2023
@traceyyoshima traceyyoshima changed the title TypeMapping error on FirTypeAlias (Priority low: 1 occurrence) TypeMapping error on FirTypeAlias Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants