digitalmars.D.bugs - [Issue 13175] New: [D1] ICE on conflicting overloads in presense of
- via Digitalmars-d-bugs (36/36) Jul 21 2014 https://issues.dlang.org/show_bug.cgi?id=13175
https://issues.dlang.org/show_bug.cgi?id=13175 Issue ID: 13175 Summary: [D1] ICE on conflicting overloads in presense of default __FILE__/__LINE__ Product: D Version: D1 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: public dicebot.lv Similar to https://issues.dlang.org/show_bug.cgi?id=12933 : =================== class Test { void opCall ( char[] msg, char[] file = __FILE__, long line = __LINE__ ) { } void opCall ( char[] file = __FILE__, long line = __LINE__ ) { } } void main() { Test("aaa"); } =================== =================== dmd1: expression.c:833: void expToCBuffer(OutBuffer*, HdrGenState*, Expression*, PREC): Assertion `precedence[e->op] != PREC_zero' failed. Aborted (core dumped) =================== --
Jul 21 2014