Replies: 1 comment 2 replies
-
Perhaps we could generate an array of packs for the overloads: function method(arg1) { }
method.__type = [['arg1', 'method', 'P\'2!$/"'], ['arg1', 'method', 'P&2!$/"']]; But how we would represent this to the user is another thing... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The example above doesn't cause errors, but the following code is generated
We need to come up with a way to have runtime types for method/function overloading.
Beta Was this translation helpful? Give feedback.
All reactions