konsoletyper / teavm

Compiles Java bytecode to JavaScript, WebAssembly and C
https://teavm.org
Apache License 2.0
2.62k stars 261 forks source link

Support varargs in JSO objects #866

Closed Ihromant closed 5 months ago

Ihromant commented 10 months ago

Example:

public interface DOMTokenList extends JSObject {
        void add(String... tokens);
        void remove(String... tokens);
}

After it https://github.com/konsoletyper/teavm/pull/867 can be merged.

konsoletyper commented 10 months ago

What if I implement it in 10 years? Should mentioned PR wait 10 years then?

Ihromant commented 10 months ago

Definitely no. I will try to investigate and implement it myself. Will ask questions if something.