[Issue 20419] New: is(missing == module/package) results in unknown identifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 26 21:20:56 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20419

          Issue ID: 20419
           Summary: is(missing == module/package) results in unknown
                    identifier
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: moonlightsentinel at disroot.org

is(stuff == module) and is(stuff == package) raise an error if "stuff" is an
unknown symbol. All other non-type checks (e.g. stuff == class) simply evaluate
to false because the spec only requires "stuff" to be syntactically valid.

--


More information about the Digitalmars-d-bugs mailing list