Thread overview | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 26, 2018 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Илья Ярошенко <ilyayaroshenko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |betterC -- |
September 26, 2018 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Илья Ярошенко <ilyayaroshenko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid -- |
September 26, 2018 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Sebastiaan Koppe <mail@skoppe.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@skoppe.eu --- Comment #1 from Sebastiaan Koppe <mail@skoppe.eu> --- I have similar issues. Most things from phobos don't work in CTFE when compiling with betterC (same error in both dmd and ldc). --- void main() { import std.uni : toLower; pragma(msg,"asdfBsdf".toLower); } --- -- |
September 26, 2018 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Radu Racariu <radu.racariu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |radu.racariu@gmail.com --- Comment #2 from Radu Racariu <radu.racariu@gmail.com> --- See https://github.com/dlang/dmd/pull/8253 for related discussion. This needs a fix. -- |
December 13, 2018 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> --- This particular error is happening because the definition of idup() in object.d is versioned out when BetterC is on, so ctfe cannot find it. There's not an obvious solution to this. -- |
June 01, 2019 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Nathan S. <n8sh.secondary@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=19561 -- |
July 31, 2019 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Les De Ridder <dlang@lesderid.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dlang@lesderid.net -- |
February 05, 2020 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Adam D. Ruppe <destructionator@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |destructionator@gmail.com --- Comment #4 from Adam D. Ruppe <destructionator@gmail.com> --- idup is found in betterC, just the compiler refuses to run it. The betterC restrictions should not apply while executing in a compile time context at all. -- |
February 26, 2020 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schveiguy@yahoo.com See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=20613 -- |
February 26, 2020 [Issue 19268] BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 ZombineDev <petar.p.kirov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petar.p.kirov@gmail.com --- Comment #5 from ZombineDev <petar.p.kirov@gmail.com> --- I guess the trickiest problem to solve is what to do about is(typeof({ code; })) and __traits(compiles, { code; }). Allowing those constructs to yield true while containing non-betterc code would lead to logical contradictions. Disallowing betterc code in such speculative contexts, while allowing it in CTFE context would be strange. -- |
Copyright © 1999-2021 by the D Language Foundation