Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
January 26, 2013 [Issue 9406] New: (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9406 Summary: (Regression: 2.061) Stack overflow from a forward reference error 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-01-26 15:08:31 PST --- Invalid code, accidentally reduced from Issue8785: mixin template Mixin() { } struct S { template t1() { mixin Mixin t1; } } void main() { S s1; s1.t1!(); } 2.060: $ dmd test.d > test.d(7): Error: mixin test.S.t1().Mixin!() cannot resolve forward reference > test.d(14): Error: expression has no value 2.061: $ dmd test.d > Stack overflow -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 26, 2013 [Issue 9406] (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=9406 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-26 15:10:22 PST --- (In reply to comment #0) > Invalid code, accidentally reduced from Issue8785: Actually I don't know whether it's invalid, but the stack overflow was found by accident. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 28, 2013 [Issue 9406] (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=9406 --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-28 07:25:08 PST --- Introduced by: https://github.com/d-programming-language/dmd/commit/9b4c8ee52edfbeef40442219b877a64a051018c3 https://github.com/D-Programming-Language/dmd/pull/1197 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 29, 2013 [Issue 9406] (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=9406 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice, pull --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-29 00:01:17 PST --- https://github.com/D-Programming-Language/dmd/pull/1576 (In reply to comment #0) > 2.060: $ dmd test.d > > test.d(7): Error: mixin test.S.t1().Mixin!() cannot resolve forward reference > > test.d(14): Error: expression has no value In the code, there is no forward reference. So, the error "cannot resolve forward reference" is not correct. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 29, 2013 [Issue 9406] (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=9406 --- Comment #4 from github-bugzilla@puremagic.com 2013-01-29 12:15:39 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fb0aca7d5c7d103ea545574101355282edeba90b fix Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error https://github.com/D-Programming-Language/dmd/commit/6bb0a54cb8656c6debaac733118036ec3f48bbc6 Merge pull request #1576 from 9rnsr/fix9406 Issue 9406 - (Regression: 2.061) Stack overflow from a forward reference error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 29, 2013 [Issue 9406] (Regression: 2.061) Stack overflow from a forward reference error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=9406 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- 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