-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extracted not added items from PR #313 #864
Conversation
@@ -30,7 +30,17 @@ public interface DOMTokenList extends JSObject { | |||
|
|||
void add(String token); | |||
|
|||
void add(String token1, String token2); | |||
|
|||
void add(String... tokens); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that varargs supported in JSO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There also was a comment to create issue to support varargs in JS. Ok, will create issue to support varagrs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So are they supported or not? If they aren't, I can't accept PR with these declarations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that you know as author of TeaVM. But ok, will check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a machine remebering each and every character from this repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, didn't want to offend you. Just checked. Varargs are not supported. So, extracted varargs to separate PR #867
https://github.com/konsoletyper/teavm/pull/313/files
lots of items already were implemented, so I extracted everything that was not implemented. Did not merge it, but I suppose that is should be authored by @niloc132