Hey, anyone has an idea what might cause this <htt...
# squarelibraries
m
Hey, anyone has an idea what might cause this https://github.com/square/kotlinpoet/issues/1304? I could try to contribute but hints about what happens there are much appreciated.
m
Is inheritance in play?
m
No, I don't think so, in what way?
m
However most likely it has something to do with https://github.com/google/ksp/issues/1011
I stumbled over it as well, but only in the context of inheritance.
👍 1
m
To me it happens when resolving a type of a function parameter or function return type. These two for sure but probably not limited to
b
That’d be super helpful to have a failing test case I think
m
I think I can prepare one
b
What do you think @egorand?
m
@Michal Klimczak in which Kotlin Version you experience this?
m
1.7.10 (the test repro above is in the latest kotlinpoet), 1.7.0 and 1.6.21
m
Your are absolutely right!
I think I located the cause
b
Feel free to open the PR if you have both a test and the fix
even just a test is good
m
Just the failing test, sure, will make made a pr out of that
m
@Michal Klimczak you mind if take your test?
m
not at all, be my guest 🙂