D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20654 - is(symbol == module) doesn't highlight properly
Summary: is(symbol == module) doesn't highlight properly
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: visuald (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 22:21 UTC by Manu
Modified: 2020-03-23 09:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Manu 2020-03-09 22:21:19 UTC
`is(symbol == module)` puts a red underline squiggle under `module`, however this is a valid expression.
Comment 1 Rainer Schuetze 2020-03-10 07:26:59 UTC
This is a rather recent addition to the language (including `package`). It is supported by the dmd based engine, but DParser won't keep up with all changes.

I can add it to the parser of that engine, though, but not in semantics.
Comment 2 Manu 2020-03-10 07:30:54 UTC
Oh whoops, I didn't realise I wasn't using the DMD engine.
I just re-installed on my work PC, and it's not the default.
Comment 3 Rainer Schuetze 2020-03-23 09:56:59 UTC
fixed in https://github.com/dlang/visuald/releases/tag/v0.52.0