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

Use an identifier instead of a keyword for 'none' #14358

Conversation

anthony-c-martin
Copy link
Member

@anthony-c-martin anthony-c-martin commented Jun 17, 2024

Convert none from a dedicated token, to an identifier token, as per the other keywords we have implemented in the language.

The problem with parsing as a dedicated token is that it results in none being unusable elsewhere in Bicep (e.g. var none = 'none' would fail compilation).

(unrelated) I think this explains #13347!

Microsoft Reviewers: Open in CodeFlow

@polatengin polatengin self-assigned this Jun 17, 2024
@polatengin polatengin merged commit 3998f5a into enpolat/12019-design-proposal-modular-parameters Jun 17, 2024
1 check passed
@polatengin polatengin deleted the ant/none_as_identifier branch June 17, 2024 16: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.

None yet

2 participants