[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 Walter Bright bugzi...@digitalmars.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: ---
[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-10-16 07:17:26 PDT --- PR to disable the feature that had proposed and implemented by issue 7444. https://github.com/D-Programming-Language/dmd/pull/2673 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2013-10-14 15:17:19 PDT --- The repro case: - struct SimpleWrapper { int[] m_data; this(int[] data) { m_data = data; } ref int[] opSlice() { return m_data; } } void main(string[] args) { auto s = SimpleWrapper([1, 2, 3, 4]); auto copy = new int[4]; copy[] = s[]; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- Comment #1 from monarchdo...@gmail.com 2013-10-13 13:21:59 PDT --- Probably related: http://d.puremagic.com/issues/show_bug.cgi?id=11244 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 mailnew4s...@gmail.com changed: What|Removed |Added CC||mailnew4s...@gmail.com --- Comment #2 from mailnew4s...@gmail.com 2013-10-13 13:26:49 PDT --- (In reply to comment #1) Probably related: http://d.puremagic.com/issues/show_bug.cgi?id=11244 You put me in an infinite loop. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11244] Invalid warning about slice assignment
http://d.puremagic.com/issues/show_bug.cgi?id=11244 --- Comment #3 from monarchdo...@gmail.com 2013-10-13 14:16:43 PDT --- (In reply to comment #2) (In reply to comment #1) Probably related: http://d.puremagic.com/issues/show_bug.cgi?id=11244 You put me in an infinite loop. (In reply to comment #2) (In reply to comment #1) Probably related: http://d.puremagic.com/issues/show_bug.cgi?id=11244 You put me in an infinite loop. I meant: http://d.puremagic.com/issues/show_bug.cgi?id=11228 Sorry. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---