We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For an extension method defined in any bean as below
fun Int.addOne() = this + 1
dispatch function in the BeanIntrospection generated should be
protected final Object dispatch(int var1, Object var2, Object[] var3) { switch (var1) { case 0: return ((TestBean)var2).addOne(var3[0]); default: throw this.unknownDispatchAtIndexException(var1); } }
This is what is actually produced.
protected final Object dispatch(int var1, Object var2, Object[] var3) { switch (var1) { case 0: return ((TestBean)var2).addOne(); default: throw this.unknownDispatchAtIndexException(var1); } }
When this function is invoked, java.lang.NoSuchMethodError exception is thrown as the signature does not match.
No response
Kotlin 1.9.22 JDK 21
4.3.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
For an extension method defined in any bean as below
dispatch function in the BeanIntrospection generated should be
Actual Behaviour
This is what is actually produced.
When this function is invoked, java.lang.NoSuchMethodError exception is thrown as the signature does not match.
Steps To Reproduce
No response
Environment Information
Kotlin 1.9.22
JDK 21
Example Application
No response
Version
4.3.5
The text was updated successfully, but these errors were encountered: