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

KSP implementation missing DefineAndAssign #153

Open
graemerocher opened this issue Oct 3, 2024 · 0 comments
Open

KSP implementation missing DefineAndAssign #153

graemerocher opened this issue Oct 3, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@graemerocher
Copy link
Contributor

graemerocher commented Oct 3, 2024

Some of the recent additions have missing handling for Kotlin Poet.

Expected Behavior

Should have feature parity with Java implementation

Actual Behaviour

Unrecognized statement: DefineAndAssign[variable=Local[name=builder, type=JavaClass[type=class java.lang.StringBuilder, nullable=false]], expression=NewInstance[type=JavaClass[type=class java.lang.StringBuilder, nullable=false], values=[Constant[type=JavaClass[type=class java.lang.String, nullable=false], value=Person[]]]]
        at io.micronaut.sourcegen.KotlinPoetSourceGenerator$Companion.renderStatement(KotlinPoetSourceGenerator.kt:619)

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

1.3.x

@graemerocher graemerocher added the type: bug Something isn't working label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants