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

Defining quoted enum values should be supported #4615

Open
marcoscaceres opened this issue Dec 19, 2023 · 0 comments
Open

Defining quoted enum values should be supported #4615

marcoscaceres opened this issue Dec 19, 2023 · 0 comments
Labels

Comments

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Dec 19, 2023

Description of problem

Given an enum with, say, the enum-value of "standard", it would be nice to support:

<pre class="idl">
enum Foo {
   "standard"
};
</pre>
<dfn>"standard"</dfn>

What happened (e.g., it crashed)?:

That's not supported (or doesn't work).

Expected behavior (e.g., it shouldn't crash):

It should be possible to support that, if the context is an enum.

Note that <dfn>""</dfn> is supported, so it follows that <dfn>"whatever"</dfn> should be supported too.

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

No branches or pull requests

1 participant