[Issue 16437] Enum type inference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 19 04:59:18 UTC 2018


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

--- Comment #1 from Basile B. <b2.temp at gmx.com> ---
Other possible cases:

  SomeEnum {se1, se2}
  SomeEnum x = se1 | se2; // OK, there's a hint to solve se1 and se2
  auto y = se1 | se2;     // Error (unless se1/se2 exist as var in the scope.

--


More information about the Digitalmars-d-bugs mailing list