[Issue 13142] Enums on different classes confuse the compiler

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 17 00:07:32 PDT 2014


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

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Domingo Alvarez Duarte from comment #3)
> Just in case the error message problem you are trying to fix also cover this:
> 
> bugEnumButton.d(4): Error: cannot implicitly convert expression (3) of type
> int to TYPE
> 
[snip]

OK, it's properly fixed in git-head.

bugEnumToolbar.d(9): Error: cannot implicitly convert expression (3) of type
int to TYPE

I'll cherry-pick the fix into 2.066 release branch.

--


More information about the Digitalmars-d-bugs mailing list