Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
October 25, 2013 [Issue 11359] New: Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11359 Summary: Assoc range violation when accessed via ref Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: puneet@coverify.org --- Comment #0 from Puneet Goel <puneet@coverify.org> 2013-10-25 16:51:30 PDT --- Compiles and runs fine with 2.063. But when compiled with latest github HEAD, I get. $ rdmd --force /tmp/test.d core.exception.RangeError@test(16): Range violation void main() { // 1 Bar.foo = new Foo; // 2 Bar.zoo("test"); // 3 } // 4 class Foo { // 5 Bar[string] bun; // 6 } // 7 class Bar { // 8 static Foo foo; // 9 static ref fun() { // 10 return foo.bun; // 11 } // 12 static void zoo(string baz) { // 13 Bar table; // 14 fun[baz] = new Bar; // 15 table = fun[baz]; // 16 } // 17 } // 18 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 --- Comment #1 from Puneet Goel <puneet@coverify.org> 2013-10-25 17:01:08 PDT --- Seems to have got introduced by: 7c6d516d97e43f94c3ef8e8ab072d6714febaf60 2013-10-23 Fix dtor handling issue introduced by fixing 3825 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, wrong-code --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-26 04:29:57 PDT --- https://github.com/D-Programming-Language/dmd/pull/2693 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 --- Comment #3 from Puneet Goel <puneet@coverify.org> 2013-10-26 05:50:41 PDT --- (In reply to comment #2) > https://github.com/D-Programming-Language/dmd/pull/2693 Works at my end. Thanks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 --- Comment #4 from github-bugzilla@puremagic.com 2013-10-26 13:29:56 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b83e95a14883fe0d334c4a5b4729ef372f4820bb fix Issue 11359 - Assoc range violation when accessed via ref https://github.com/D-Programming-Language/dmd/commit/e1e813bd40fa0ea90dab1e1af449f22a5c154c6d Merge pull request #2693 from 9rnsr/fix11359 [REG2.064a] Issue 11359 - Assoc range violation when accessed via ref -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 --- Comment #5 from github-bugzilla@puremagic.com 2013-10-26 13:30:45 PDT --- Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/055110fca22a5a5180ecba0df3315e505cbd03d7 Merge pull request #2693 from 9rnsr/fix11359 [REG2.064a] Issue 11359 - Assoc range violation when accessed via ref -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2013 [Issue 11359] Assoc range violation when accessed via ref | ||||
---|---|---|---|---|
| ||||
Posted in reply to Puneet Goel | http://d.puremagic.com/issues/show_bug.cgi?id=11359 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