Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 03, 2015 [Issue 15280] Unable to factor two simple functions into one inout function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15280 --- Comment #1 from Sobirari Muhomori <dfj1esp02@sneakemail.com> --- One const method looks enough in your case: List tail() const { assert(root); auto n = root.next; return List(n); } -- |
November 03, 2015 [Issue 15280] Unable to factor two simple functions into one inout function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15280 --- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> --- (In reply to Sobirari Muhomori from comment #1) > One const method looks enough in your case: > > List tail() const > { > assert(root); > auto n = root.next; > return List(n); > } Working around this case is not the point - there are many other cases that don't work. -- |
December 17, 2022 [Issue 15280] Unable to factor two simple functions into one inout function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15280 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 15280] Unable to factor two simple functions into one inout function | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15280 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19067 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation