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

fix(productions/argument): no default for nullable dictionary args #395

Merged
merged 3 commits into from
Aug 28, 2019

Conversation

saschanaz
Copy link
Member

Currently the validator suggests adding a default dictionary value for a dictionary argument even it's nullable, but it's not a valid suggestion because a nullable dictionary type is not really a dictionary type. (whatwg/webidl#774 (comment))

Copy link
Member

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool! I wonder if we will see a lot of these?

@saschanaz
Copy link
Member Author

Very cool! I wonder if we will see a lot of these?

Not sure I understand, but the autofix thing useful for my batch autofixer: https://github.com/saschanaz/webidl-updater

@saschanaz saschanaz merged commit 1250272 into gh-pages Aug 28, 2019
@saschanaz saschanaz deleted the nullable-nofix branch August 28, 2019 03:53
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 this pull request may close these issues.

2 participants