On Saturday, 15 June 2013 at 02:39:31 UTC, Jonathan M Davis wrote:
On Saturday, June 15, 2013 01:09:28 TommiT wrote:
I'm pretty sure the following is a compiler bug, right? (using
DMD 2.063)
-
module a;
void foo(char)
{
}
-
module b;
enum MyEnum : int { _ }
void foo(MyEnum)
On Saturday, June 15, 2013 01:09:28 TommiT wrote:
> I'm pretty sure the following is a compiler bug, right? (using
> DMD 2.063)
>
> -
> module a;
>
> void foo(char)
> {
> }
>
> -
> module b;
>
> enum MyEnum : int { _ }
>
> void foo(MyEnum)
> {
> }
>
> -
> module main;
I'm pretty sure the following is a compiler bug, right? (using
DMD 2.063)
-
module a;
void foo(char)
{
}
-
module b;
enum MyEnum : int { _ }
void foo(MyEnum)
{
}
-
module main;
import a;
import b;
void main()
{
foo(char.init);
foo(MyEnum.init); // [1]
}
//