www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21178] New: It is not explained what is "unknown"


          Issue ID: 21178
           Summary: It is not explained what is "unknown"
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: porton narod.ru


"An empty enum body (For example enum E;) signifies an opaque enum - the enum
members are unknown."

The specification is very unclear here:

What this "unknown" does mean? How does "unknown" differ from "none" in this

The specification does not define the meaning of unknown. Formal specifications
should not use a word with no clear meaning.

Aug 19 2020