ceylon/ceylon-js — Issue #35: Sequenced parameters undefined instead of empty
Author: chochos
Created: 2012-01-31 00:54:35+00:00
State: open

Functions declared as `f(Type...)` can be called `f()` but in js this gets translated exactly to a call as `f()` when it really should be `f(empty)` so that the function receives an empty Sequence, otherwise errors occur when trying to use the sequenced parameter because it's undefined.