-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Description
I was binding a function that took one argument as a double (e.g. foo(double x)). I tried calling it in chaiscript, once passing in an integer and once with a double. It broke on the integer, but was okay on the double call.
> foo(2)
Error
> foo(2.0)
<good_things>
Is there anything else I could use (other than a lambda function) to do an implicit type conversion in ChaiScript?
Metadata
Metadata
Assignees
Labels
No labels