http://d.puremagic.com/issues/show_bug.cgi?id=8233
Summary: std.array.array fails to compile with ranges of
immutable elements which have a length property
Product: D
Version: unspecified
Platform: All
OS/Version: All
http://d.puremagic.com/issues/show_bug.cgi?id=8229
--- Comment #3 from Don clugd...@yahoo.com.au 2012-06-13 01:44:42 PDT ---
(In reply to comment #2)
(In reply to comment #1)
This behaviour is intentional. Pointer operations are strictly checked in
CTFE.
It's the same as doing
int
http://d.puremagic.com/issues/show_bug.cgi?id=8233
--- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-13 01:50:59
PDT ---
https://github.com/D-Programming-Language/phobos/pull/630
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=4364
--- Comment #5 from Patrick Byrne pjlby...@gmail.com 2012-06-13 02:35:09 PDT
---
Thanks!
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7485
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7081
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
http://d.puremagic.com/issues/show_bug.cgi?id=8234
Summary: symbols used in CTFE affect the function literal type
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=8235
Summary: IsUserAnAdmin not in shell32.lib
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component:
http://d.puremagic.com/issues/show_bug.cgi?id=8062
--- Comment #3 from Dmitry Olshansky dmitry.o...@gmail.com 2012-06-13
12:22:05 PDT ---
(In reply to comment #2)
(In reply to comment #1)
As defined t shouldn't:
UFCS presently only does go from fn(a,b, ...) - a.fn(b, ...); way.
http://d.puremagic.com/issues/show_bug.cgi?id=8062
--- Comment #4 from timon.g...@gmx.ch 2012-06-13 12:37:21 PDT ---
(In reply to comment #3)
My bad, I actually meant it a.fn --- fn(a,...) way. Which brings us to the
point - request is Invalid then?
I don't think it is invalid.
a + b -
http://d.puremagic.com/issues/show_bug.cgi?id=8062
--- Comment #5 from jens.k.muel...@gmx.de 2012-06-13 14:05:28 PDT ---
(In reply to comment #4)
(In reply to comment #3)
My bad, I actually meant it a.fn --- fn(a,...) way. Which brings us to the
point - request is Invalid then?
I
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-06-13
14:55:42 PDT ---
I have a patch for this specific case, but it's a kludge, not a general
solution.
The problem is that the context of the typeof(x) is not the context of
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #5 from Manu turkey...@gmail.com 2012-06-13 15:50:11 PDT ---
(In reply to comment #4)
Can you post an example of why you need this? Perhaps there's another way.
It's difficult for me to extract a concrete example (a very large
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2012-06-13
20:05:42 PDT ---
Ok, I suggest abandoning this .stringof proposal as unworkable. Instead, how
about a traits that gives the default arguments as an expression tuple?
Also,
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #7 from Walter Bright bugzi...@digitalmars.com 2012-06-13
20:50:27 PDT ---
Suppose I made this work:
-
template ParameterTypeTuple(alias foo)
{
static if (is(typeof(foo) P == function))
alias P
http://d.puremagic.com/issues/show_bug.cgi?id=8233
--- Comment #2 from github-bugzi...@puremagic.com 2012-06-13 21:16:55 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8233
--- Comment #3 from github-bugzi...@puremagic.com 2012-06-13 21:20:10 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #8 from Walter Bright bugzi...@digitalmars.com 2012-06-13
22:23:21 PDT ---
Note that the default argument can be retrieved using something like:
PT[1] getDefault(PT a) { return a[1]; }
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=3150
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3150
--- Comment #8 from github-bugzi...@puremagic.com 2012-06-13 22:26:50 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #9 from Walter Bright bugzi...@digitalmars.com 2012-06-13
22:35:21 PDT ---
Or better:
PT[1] getDefault(PT[1..2] a) { return a[0]; }
An example:
-
import std.stdio;
template ParameterTypeTuple(alias foo)
{
http://d.puremagic.com/issues/show_bug.cgi?id=8106
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8221
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8221
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Severity|normal |enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=8220
--- Comment #2 from github-bugzi...@puremagic.com 2012-06-13 22:59:19 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
25 matches
Mail list logo