http://d.puremagic.com/issues/show_bug.cgi?id=10666
--- Comment #3 from github-bugzi...@puremagic.com 2013-09-14 23:50:31 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10630
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10115
--- Comment #5 from github-bugzi...@puremagic.com 2013-09-15 00:16:40 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10630
--- Comment #3 from github-bugzi...@puremagic.com 2013-09-15 00:16:36 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=9565
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=9565
--- Comment #6 from github-bugzi...@puremagic.com 2013-09-15 00:36:45 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10236
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10236
--- Comment #18 from github-bugzi...@puremagic.com 2013-09-15 00:52:10 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=11041
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=9297
Doug Nickerson tachyon...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=11042
Summary: Inconsistent static condition behaviors
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid, rejects-valid
http://d.puremagic.com/issues/show_bug.cgi?id=11042
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=9073
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|RESOLVED|REOPENED
http://d.puremagic.com/issues/show_bug.cgi?id=11042
--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-15
04:46:13 PDT ---
Oh wait I just realized this is exactly what
http://d.puremagic.com/issues/show_bug.cgi?id=9073 was for, so it got rejected?
Shame..
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=11042
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=11043
Summary: Context pointer of delegate should be const qualified
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid
http://d.puremagic.com/issues/show_bug.cgi?id=11044
Summary: Escaping references to lazy argument are allowed
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid
http://d.puremagic.com/issues/show_bug.cgi?id=11045
Summary: Pure functions are allowed to read/write global
TypeInfo
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords:
http://d.puremagic.com/issues/show_bug.cgi?id=11046
Summary: [enh] Pure functions with default and out parameters
are allowed
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=11047
Summary: UDA + getAttributes bypass purity/safety check
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid
http://d.puremagic.com/issues/show_bug.cgi?id=11046
--- Comment #2 from Maxim Fomin ma...@maxim-fomin.ru 2013-09-15 14:02:19 PDT
---
Another test-case:
int a;
pure foo(ref int a = a) { ++a; }
void main() pure
{
foo();
}
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=11046
Maxim Fomin ma...@maxim-fomin.ru changed:
What|Removed |Added
Summary|[enh] Pure functions with |Pure functions with
http://d.puremagic.com/issues/show_bug.cgi?id=11046
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=11046
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2013-09-15 14:06:27
PDT ---
Sorry, it is definitely a bug because global variable is mutable.
It mutates global mutable state via one of its arguments. pure functions cannot
access
http://d.puremagic.com/issues/show_bug.cgi?id=11046
safety0ff.b...@gmail.com changed:
What|Removed |Added
CC||safety0ff.b...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=11048
Summary: Default arguments not taken into account when being
called by pure functions
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=11046
--- Comment #6 from Jonathan M Davis jmdavisp...@gmx.com 2013-09-15 14:55:05
PDT ---
I think the problem is this:
_That_ is a bug and should be reported as such, but it's different from arguing
that pure functions should not be allowed to
http://d.puremagic.com/issues/show_bug.cgi?id=10631
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10893
Lionello Lunesu lio+bugzi...@lunesu.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10894
Lionello Lunesu lio+bugzi...@lunesu.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10985
--- Comment #6 from Kenji Hara k.hara...@gmail.com 2013-09-15 19:33:24 PDT ---
The root cause is in mars.c around line 1580.
https://github.com/D-Programming-Language/dmd/blob/a5086fa49c5cd236297584c07e03be8e52208158/src/mars.c#L1579
if
http://d.puremagic.com/issues/show_bug.cgi?id=11049
Summary: RangeError does not recognize file name modified by
#line directive
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords:
http://d.puremagic.com/issues/show_bug.cgi?id=11046
--- Comment #7 from Maxim Fomin ma...@maxim-fomin.ru 2013-09-15 22:53:56 PDT
---
(In reply to comment #6)
I think the problem is this:
_That_ is a bug and should be reported as such, but it's different from
arguing
that pure functions
33 matches
Mail list logo