On 11/14/2017 5:20 AM, Nick Treleaven wrote:An very similar problem exists for int and char overloads:alias foo = (char c) => 1; alias foo = (int i) => 4; enum int e = 7; static assert(foo(e) == 4); // failsI cannot reproduce this error.
Try it here: https://run.dlang.io/is/nfMGfG DMD-nightly
