https://issues.dlang.org/show_bug.cgi?id=19268
Paul Backus changed:
What|Removed |Added
CC||maxha...@gmail.com
--- Comment #13 from Paul
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #12 from Adam D. Ruppe ---
(In reply to Steven Schveighoffer from comment #9)
> Except this is not the problem. The CTFE part DOES compile.
h, it is the problem that brought me to this bug.
private string makefoo() {
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #11 from Steven Schveighoffer ---
(In reply to ZombineDev from comment #5)
> 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
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #10 from Steven Schveighoffer ---
Ooooh, I just had an idea. Consider the template that is causing issues _dup.
What if we did this:
version(D_BetterC) extern(C) void _dup_UNAVAILABLE_IN_BETTERC();
private U[] _dup(T, U)(T[] a) // pure
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #9 from Steven Schveighoffer ---
(In reply to Adam D. Ruppe from comment #8)
> My view is that the code compiles just fine. Just without druntime linked in
> or generated typeinfo, or whatever it depends on at run time, it will not
>
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #8 from Adam D. Ruppe ---
My view is that the code compiles just fine. Just without druntime linked in or
generated typeinfo, or whatever it depends on at run time, it will not link.
The -betterC switch tries to detect these these
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #7 from Steven Schveighoffer ---
(In reply to ZombineDev from comment #5)
> 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
https://issues.dlang.org/show_bug.cgi?id=19268
--- Comment #6 from Adam D. Ruppe ---
I think my proposal would be that *specifically* the `if(__ctfe)` construct
overrides the betterC checks, since that can be easily factored out.
Just like how we can write
---
int* do_something() {
https://issues.dlang.org/show_bug.cgi?id=19268
ZombineDev changed:
What|Removed |Added
CC||petar.p.ki...@gmail.com
--- Comment #5 from
https://issues.dlang.org/show_bug.cgi?id=19268
Steven Schveighoffer changed:
What|Removed |Added
CC||schvei...@yahoo.com
See
https://issues.dlang.org/show_bug.cgi?id=19268
Adam D. Ruppe changed:
What|Removed |Added
CC||destructiona...@gmail.com
--- Comment #4
https://issues.dlang.org/show_bug.cgi?id=19268
Les De Ridder changed:
What|Removed |Added
CC||dl...@lesderid.net
--
https://issues.dlang.org/show_bug.cgi?id=19268
Nathan S. changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
|
https://issues.dlang.org/show_bug.cgi?id=19268
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #3
https://issues.dlang.org/show_bug.cgi?id=19268
Radu Racariu changed:
What|Removed |Added
CC||radu.raca...@gmail.com
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=19268
Sebastiaan Koppe changed:
What|Removed |Added
CC||m...@skoppe.eu
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=19268
Илья Ярошенко changed:
What|Removed |Added
Keywords||rejects-valid
--
https://issues.dlang.org/show_bug.cgi?id=19268
Илья Ярошенко changed:
What|Removed |Added
Keywords||betterC
--
18 matches
Mail list logo