Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 18, 2013 [Issue 11062] New: inline ice with alias this and opIndexAssign | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11062 Summary: inline ice with alias this and opIndexAssign Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: code@dawg.eu --- Comment #0 from Martin Nowak <code@dawg.eu> 2013-09-18 03:53:54 PDT --- cat > bug.d << CODE struct InetHeaderMap { void opIndexAssign(string val, string key) { } } struct HTTPServerResponse { InetHeaderMap headers; } struct FreeListRef { private HTTPServerResponse m_object; @property HTTPServerResponse get() { return m_object; } alias get this; } void foo() { auto res = FreeListRef(); res.headers.opIndexAssign("bar", "foo"); // OK res.headers["foo"] = "bar"; // Bug } CODE dmd -c -inline bug.d ---- DMD v2.064-devel-9a32118 DEBUG Internal error: backend/symbol.c 1036 ---- The bug triggers the assertion 'assert(s->Ssymnum == -1);' in backend/symbol.c(symbol_add). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 20, 2013 [Issue 11062] inline ice with alias this and opIndexAssign | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11062 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-20 02:37:00 PDT --- (In reply to comment #0) [snip] > > dmd -c -inline bug.d > ---- > DMD v2.064-devel-9a32118 DEBUG > Internal error: backend/symbol.c 1036 > ---- > > The bug triggers the assertion 'assert(s->Ssymnum == -1);' in > backend/symbol.c(symbol_add). Introduced by: https://github.com/D-Programming-Language/dmd/commit/33ce37d6495aad7a3d6644392cf47e1af9d9d493 Compiler fix: https://github.com/D-Programming-Language/dmd/pull/2576 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 20, 2013 [Issue 11062] inline ice with alias this and opIndexAssign | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11062 --- Comment #2 from github-bugzilla@puremagic.com 2013-09-20 08:22:27 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1f5c1434485ed29b4b17a5b548503e164d52e09c fix Issue 11062 - inline ice with alias this and opIndexAssign https://github.com/D-Programming-Language/dmd/commit/9eb97f78f59d28ddfc5ea8430d2f2fc0f9c06f7d Merge pull request #2576 from 9rnsr/fix11062 [REG2.06a] Issue 11062 - inline ice with alias this and opIndexAssign -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 20, 2013 [Issue 11062] inline ice with alias this and opIndexAssign | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | http://d.puremagic.com/issues/show_bug.cgi?id=11062 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED 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