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

Generic nullable type not rendered in inline var syntax #4708

Closed
nondebug opened this issue May 10, 2024 · 1 comment · Fixed by #4709
Closed

Generic nullable type not rendered in inline var syntax #4708

nondebug opened this issue May 10, 2024 · 1 comment · Fixed by #4709
Labels

Comments

@nondebug
Copy link
Contributor

Description of problem

URL to affected spec or repo:

w3c/gamepad#205 (review)

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

It wasn't recognized as a variable name:
image

If I remove the ? then it renders correctly.

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

|gamepads| should be styled like a variable and should show the type sequence<Gamepad?> on hover.

@nondebug nondebug added the bug label May 10, 2024
@sidvishnoi
Copy link
Member

Can you send a PR with a test similar to #4685?

nondebug added a commit to nondebug/respec that referenced this issue May 10, 2024
@sidvishnoi sidvishnoi changed the title |gamepads:sequence&lt;Gamepad?&gt;| doesn't render correctly Generic nullable type not rendered in inline var syntax May 12, 2024
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.

2 participants