Closed mhevery closed 8 years ago
The returned union type should get transformed into a dynamic /* ... */
comment, right?
I can take a look tomorrow, happy for somebody else to pick this up earlier if they have time.
Correct
I assume the fix you ask for is to de-generate all function parameters that have varargs/rest parameters into just Function
.
I don't think you got that code as an error, what you should have gotten is: rest parameters are unsupported
. It'd be nice if you could write up the actual error you get, that'd be a lot less puzzling :-)
Sorry. Yes it throws Compile rest parameters to untyped Function objects
thank you.
Given:
Expect:
Got Error: