Skip to content
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

Remove optional marker from overloaded version of setLocalDescription #2600

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

dontcallmedom
Copy link
Member

@dontcallmedom dontcallmedom commented Nov 13, 2020

optional can only be used on the last argument of a function

(noted by @tidoust)


Preview | Diff

optional can only be used on the last argument of a function
@fippo
Copy link
Contributor

fippo commented Nov 13, 2020

That essentially means the "legacy" version of SLD does not support the "just use the last offer" version? 💯
But how about SLD(null, cb)?

@jan-ivar
Copy link
Member

@fippo right, the legacy api does not get new features 😉

@alvestrand alvestrand merged commit 18e4671 into master Nov 27, 2020
@alvestrand alvestrand deleted the overload-not-optional branch November 27, 2020 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants