-
Notifications
You must be signed in to change notification settings - Fork 32
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
cannot handle kotlin functions defined in the top level #9
Comments
To reproduce this issue you can clone this repo: then edit the [src/main/kotlin/io/fabric8/funktion/example/Main.kt])https://github.com/fabric8-quickstarts/funktion-kotlin-example/blob/master/src/main/kotlin/io/fabric8/funktion/example/Main.kt) file and comment out the |
I changed the function to tell the user to specify a name if missing, and made the parameters optional
And the fix in Camel requires a new release such as the 2.17.2 |
Camel 2.17.2 has been released and our quickstarts/forge et all has been upgrade to use it |
awesome thanks! |
if you change the kotlin sample app to use a top level function like this
then when you run it you get an error.
I wonder if this is a bug in camel trying to instantiate a class which does't have a contructor?
The text was updated successfully, but these errors were encountered: