Thread overview | |||||
---|---|---|---|---|---|
|
December 14, 2011 [Issue 7109] New: [CTFE] Error with slicing ref string | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7109 Summary: [CTFE] Error with slicing ref string Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: youxkei@gmail.com --- Comment #0 from Hisayuki Mima <youxkei@gmail.com> 2011-12-14 22:15:34 JST --- struct Struct{ string str; } void bar(ref string str){ str = str[0..0]; } static assert({ auto s = Struct("foo"); bar(s.str); return true; }()); This code does't work. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 14, 2011 [Issue 7109] [CTFE] Error with slicing ref string | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=7109 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |clugdbug@yahoo.com.au --- Comment #1 from Don <clugdbug@yahoo.com.au> 2011-12-14 07:38:42 PST --- Related to bug 6934. It's fixed in this two-week old pull request: https://github.com/D-Programming-Language/dmd/pull/522 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 15, 2011 [Issue 7109] [CTFE] Error with slicing ref string | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hisayuki Mima | http://d.puremagic.com/issues/show_bug.cgi?id=7109 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Don <clugdbug@yahoo.com.au> 2011-12-14 23:04:33 PST --- *** This issue has been marked as a duplicate of issue 6934 *** -- 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