Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 22, 2013 [Issue 11327] New: Regression (2.059): ICE in a recursive UFCS call | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11327 Summary: Regression (2.059): ICE in a recursive UFCS call Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-22 11:47:28 PDT --- ----- S call(S)(S s) { // accidental recursive call to UFCS function return s.call(); } struct S { } void main() { S s; call(s); } ----- 2.058: $ dmd ice.d > ice.d(4): Error: no property 'call' for type 'S' > ice.d(14): Error: template instance ice.call!(S) error instantiating 2.059: $ dmd ice.d > crash I don't have a stack trace right now, I need to reinstall my windbg symbols. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 22, 2013 [Issue 11327] Regression (2.059): ICE in a recursive UFCS call | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=11327 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-22 11:48:17 PDT --- (In reply to comment #0) > 2.059: That should say 2.059+, as all versions after it ICE as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 23, 2013 [Issue 11327] Regression (2.059): ICE in a recursive UFCS call | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=11327 --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-22 21:47:14 PDT --- (In reply to comment #1) > (In reply to comment #0) > > 2.059: > > That should say 2.059+, as all versions after it ICE as well. The OP code compilation succeeds correctly with 2.059 and git-head. And executing generated test.exe will crash correctly by infinite recursion. But you are not using `-run` switch. So, I'm not sure what is the problem... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 23, 2013 [Issue 11327] Regression (2.059): ICE in a recursive UFCS call | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=11327 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-23 06:15:50 PDT --- (In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > 2.059: > > > > That should say 2.059+, as all versions after it ICE as well. > > The OP code compilation succeeds correctly with 2.059 and git-head. And executing generated test.exe will crash correctly by infinite recursion. > > But you are not using `-run` switch. So, I'm not sure what is the problem... Apologies, it seems I've misinterpreted the error dialog box belonging to DMD rather than the test-case itself. This is not a valid bug report. Thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation