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

Overmatching on enum values when two are on the same line #2258

Closed
marcoscaceres opened this issue Apr 13, 2019 · 1 comment · Fixed by #2262
Closed

Overmatching on enum values when two are on the same line #2258

marcoscaceres opened this issue Apr 13, 2019 · 1 comment · Fixed by #2262
Labels

Comments

@marcoscaceres
Copy link
Member

marcoscaceres commented Apr 13, 2019

Description of problem

Given:

<pre class="idl">
   enum WakeLockType { "screen", "system" };
</pre>
<p>{{ WakeLockType["screen"] }} and {{ WakeLockType["system"] }}</p>

It overmatches and gets a syntax error.

@marcoscaceres
Copy link
Member Author

marcoscaceres commented Apr 13, 2019

Same for:

<p data-link-for="WakeLockType">
{{"screen"}} and {{"system"}}
</p>

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

Successfully merging a pull request may close this issue.

1 participant