Skip to content

Optional arguments need to propagate into Closure type #43

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

Closed
evmar opened this issue Feb 3, 2016 · 1 comment · Fixed by #54
Closed

Optional arguments need to propagate into Closure type #43

evmar opened this issue Feb 3, 2016 · 1 comment · Fixed by #54

Comments

@evmar
Copy link
Contributor

evmar commented Feb 3, 2016

function OptionalArgument(x: number, y?: string) {

currently does

function OptionalArgument(/** number */ x, /** string */ y) {

but we need y to be string=.

@evmar
Copy link
Contributor Author

evmar commented Feb 4, 2016

I got this wrong -- I put an equals sign in but it didn't actually work and the test didn't verify it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant