Re: Clash between functions that shouldn't be in the same partial ordering set

2013-06-14 Thread TommiT
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)

Re: Clash between functions that shouldn't be in the same partial ordering set

2013-06-14 Thread Jonathan M Davis
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;

Clash between functions that shouldn't be in the same partial ordering set

2013-06-14 Thread TommiT
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] } //