https://issues.dlang.org/show_bug.cgi?id=4559
Infiltrator changed:
What|Removed |Added
CC||and...@erdani.com,
|
https://issues.dlang.org/show_bug.cgi?id=4558
Infiltrator changed:
What|Removed |Added
CC||lt.infiltra...@gmail.com
--- Comment #1 from In
https://issues.dlang.org/show_bug.cgi?id=17486
--- Comment #4 from Eyal ---
The solution, clearly is to treat "lazy" is mere syntactic sugar to passing
delegates - thus adding syntactic support for @nogc/etc attribute annotation on
"lazy" parameters - and specifying their attributes just like is
https://issues.dlang.org/show_bug.cgi?id=17474
--- Comment #8 from Eyal ---
Requiring @property on a for a=b to invoke a(b) sounds much more reasonable
than the opposite.
I don't see how a=b invoking a(b) when a isn't a @property is justifiable.
--
https://issues.dlang.org/show_bug.cgi?id=17474
--- Comment #6 from Tomer Filiba (weka) ---
(In reply to Walter Bright from comment #4)
> But I can suggest avoiding using default function arguments. Default
> arguments are a good solution for adding parameters without breaking
> existing code, but
https://issues.dlang.org/show_bug.cgi?id=17474
--- Comment #7 from Tomer Filiba (weka) ---
(In reply to Stefan Koch from comment #5)
> I am pretty sure the last thing you want is a function to be invoked as a
> setter property if it returns an Lvalue.
+1
--
https://issues.dlang.org/show_bug.cgi?id=17474
--- Comment #5 from Stefan Koch ---
(In reply to Walter Bright from comment #4)
> I'm not sure what the "right" semantics are, either, because each of the
> behaviors can be justified.
I am pretty sure the last thing you want is a function to be inv
https://issues.dlang.org/show_bug.cgi?id=17474
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #4 from
https://issues.dlang.org/show_bug.cgi?id=9287
--- Comment #5 from Walter Bright ---
https://github.com/dlang/dmd/pull/6880
--
https://issues.dlang.org/show_bug.cgi?id=9287
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #4 from
https://issues.dlang.org/show_bug.cgi?id=17457
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/2fd96914cdd3fb2ddf29872b1c80415ce636916d
fix Issue 17457 - Named Return Value Optimization (NRVO) not d
https://issues.dlang.org/show_bug.cgi?id=17486
greensunn...@gmail.com changed:
What|Removed |Added
CC||greensunn...@gmail.com
Su
https://issues.dlang.org/show_bug.cgi?id=17485
--- Comment #2 from hst...@quickfur.ath.cx ---
More specifically, if (1) both ranges are built-in arrays, (2) they have the
same element type, and (3) the back range is a single element, we can optimize
this way:
If front and back are disjoint: (fron
https://issues.dlang.org/show_bug.cgi?id=17485
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment #
https://issues.dlang.org/show_bug.cgi?id=9287
hst...@quickfur.ath.cx changed:
What|Removed |Added
Keywords||pull
--- Comment #3 from hst...@quick
https://issues.dlang.org/show_bug.cgi?id=17474
Stefan Koch changed:
What|Removed |Added
CC||uplink.co...@gmail.com
Assignee|nob.
https://issues.dlang.org/show_bug.cgi?id=1077
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
https://issues.dlang.org/show_bug.cgi?id=9287
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
https://issues.dlang.org/show_bug.cgi?id=17487
Eyal changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
|
https://issues.dlang.org/show_bug.cgi?id=17486
Eyal changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
|
https://issues.dlang.org/show_bug.cgi?id=17487
Issue ID: 17487
Summary: CTFE should allow casting delegate function attributes
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancem
https://issues.dlang.org/show_bug.cgi?id=17486
--- Comment #2 from Eyal ---
Better bug reproduction:
@safe:
void f(ref int counter, lazy int x) pure {
x();
counter++;
x();
}
void main() {
int counter;
int g() {
import std.stdio:writeln;
writeln("counter: ",
https://issues.dlang.org/show_bug.cgi?id=17486
--- Comment #1 from Eyal ---
This also breaks purity type checking:
@safe:
import std.stdio:writeln;
void f(lazy int x) pure {
x();
}
unittest {
int g() {
writeln("impure func called by pure func!");
return 5;
}
au
https://issues.dlang.org/show_bug.cgi?id=17486
Issue ID: 17486
Summary: lazy parameters cannot be used in nothrow/@nogc
functions
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS:
https://issues.dlang.org/show_bug.cgi?id=17485
Steven Schveighoffer changed:
What|Removed |Added
Keywords||performance
--
https://issues.dlang.org/show_bug.cgi?id=17485
Issue ID: 17485
Summary: bringToFront and/or upperBound slow
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Prior
https://issues.dlang.org/show_bug.cgi?id=17271
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=16615
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
Resolu
https://issues.dlang.org/show_bug.cgi?id=16615
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/07602da6334fa250032d302c777b75d17b0e4379
Revert "Partial Fix Issue 16615 - convert os pid to std.
https://issues.dlang.org/show_bug.cgi?id=16615
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to revert-5086-process_enhancement at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/07602da6334fa250032d302c777b75d17b0e4379
Revert "Partial Fix Issue 16615
https://issues.dlang.org/show_bug.cgi?id=17472
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|-
https://issues.dlang.org/show_bug.cgi?id=17472
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/3caa34f219cebaf37b75ce7384a3a40dbb87fe1e
fix Issue 17472 - typeof(stdin) is no longer a File
htt
https://issues.dlang.org/show_bug.cgi?id=17472
--- Comment #3 from Andrei Alexandrescu ---
(In reply to Martin Nowak from comment #2)
> (In reply to Andrei Alexandrescu from comment #1)
> > We really should get rid of library initialization
> > code.
>
> Why did that became a goal btw?
Thanks f
https://issues.dlang.org/show_bug.cgi?id=17472
--- Comment #2 from Martin Nowak ---
(In reply to Andrei Alexandrescu from comment #1)
> We really should get rid of library initialization
> code.
Why did that became a goal btw?
--
https://issues.dlang.org/show_bug.cgi?id=7678
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=17390
Martin Nowak changed:
What|Removed |Added
CC||chadj...@gmail.com
--- Comment #2 from Martin
https://issues.dlang.org/show_bug.cgi?id=5278
Martin Nowak changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=5278
Issue 5278 depends on issue 7678, which changed state.
Issue 7678 Summary: Add -cflags switch for DMD that allows passing flags to GCC
or ${CC}
https://issues.dlang.org/show_bug.cgi?id=7678
What|Removed |Added
-
https://issues.dlang.org/show_bug.cgi?id=17390
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1 from Martin Nowak
https://issues.dlang.org/show_bug.cgi?id=17275
--- Comment #5 from Walter Bright ---
https://github.com/dlang/dmd/pull/6875
--
https://issues.dlang.org/show_bug.cgi?id=17482
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
--- Comment #1
41 matches
Mail list logo