http://d.puremagic.com/issues/show_bug.cgi?id=2954
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||patch
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4414
Per �ngstr�m d-bugzi...@autark.se changed:
What|Removed |Added
CC||d-bugzi...@autark.se
http://d.puremagic.com/issues/show_bug.cgi?id=2828
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5221
Summary: entity.c: Merge Walter's list with Thomas'
Product: D
Version: D1 D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=5221
--- Comment #1 from Iain Buclaw ibuc...@ubuntu.com 2010-11-16 05:45:59 PST ---
Random examples of tests that fail on DMD:
static assert('\check;'==10003);
static assert('\lsim;'==8818);
static assert('\numero;'==8470);
static
http://d.puremagic.com/issues/show_bug.cgi?id=5221
--- Comment #2 from Iain Buclaw ibuc...@ubuntu.com 2010-11-16 06:07:53 PST ---
(From update of attachment 815)
diff -ur src.orig/entity.c src/entity.c
--- src.orig/entity.c2010-03-31 01:26:18.0 +0100
+++ src/entity.c2010-11-16
http://d.puremagic.com/issues/show_bug.cgi?id=5222
Summary: label prepending block in 'ThenStatement' breaks
creating new scope
Product: D
Version: D1 D2
Platform: x86
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=5223
Summary: [qtd] Cannot use default value with function parameter
of struct type
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=5223
--- Comment #1 from Max Samukha samu...@voliacable.com 2010-11-16 09:48:10
PST ---
Even simpler test-case:
struct S
{
this(int x)
{
}
void foo(S s = S(42))
{
}
}
void main()
{
S s;
s.foo(); // error
}
Error:
http://d.puremagic.com/issues/show_bug.cgi?id=5224
Summary: std.algorithm.remove!(SwapStrategy.unstable) doesn't
work
Product: D
Version: D2
Platform: x86_64
OS/Version: Windows
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=2809
--- Comment #5 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
11:53:02 PST ---
short a(short b) { return bcast(short)1; }
Shouldn't number literals work as smallest possible type and promoted as
needed?
Like here:
---
byte a=1;
---
http://d.puremagic.com/issues/show_bug.cgi?id=2809
--- Comment #6 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
11:59:34 PST ---
Number literals are polysemous, right? So binary ops should work like this:
opBinary(l,r)
{
if(is(typeof(r)==polysemous))
{
http://d.puremagic.com/issues/show_bug.cgi?id=5224
--- Comment #1 from Aleksandar Ruzicic ruzicic.aleksan...@gmail.com
2010-11-16 21:02:22 CET ---
tested now also under DMD 2.050, same results.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=4638
Shin Fujishiro rsi...@gmail.com changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://d.puremagic.com/issues/show_bug.cgi?id=5212
--- Comment #6 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
12:11:46 PST ---
Variadic arguments are arguments, and arguments are on the stack.
T[] is not a dynamic array, it's a slice. Messing python idioms into D, while
those
http://d.puremagic.com/issues/show_bug.cgi?id=5201
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3888
Shin Fujishiro rsi...@gmail.com changed:
What|Removed |Added
CC||rsi...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=5212
--- Comment #7 from bearophile_h...@eml.cc 2010-11-16 12:42:05 PST ---
One of the many posts of the relative thread:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=122157
(In reply to comment #6)
http://d.puremagic.com/issues/show_bug.cgi?id=5133
Shin Fujishiro rsi...@gmail.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5154
--- Comment #1 from Shin Fujishiro rsi...@gmail.com 2010-11-16 13:03:13 PST
---
Fixed: http://www.dsource.org/projects/phobos/changeset/2170
Also fixed for interfaces and pointers to struct ranges.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=5154
--- Comment #2 from Shin Fujishiro rsi...@gmail.com 2010-11-16 13:04:06 PST
---
Fixed: http://www.dsource.org/projects/phobos/changeset/2170
Also fixed for interfaces and pointers to struct ranges.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=5154
Shin Fujishiro rsi...@gmail.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3147
--- Comment #2 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
13:40:52 PST ---
Some asserts for modulus and shifts
---
byte b;
short s;
int i;
long l;
static assert(is(typeof(s%b)==byte));
static assert(is(typeof(i%s)==short));
http://d.puremagic.com/issues/show_bug.cgi?id=3147
--- Comment #3 from Andrei Alexandrescu and...@metalanguage.com 2010-11-16
13:54:16 PST ---
The point is not to ascribe the smallest static type to the result. That would
break compatibility with C in many ways. All that happens is the
http://d.puremagic.com/issues/show_bug.cgi?id=3147
--- Comment #4 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
14:01:34 PST ---
---
l = cast(int)(s%b);
l = cast(short)(s%b);
---
What's the difference?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=3147
--- Comment #5 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
14:22:01 PST ---
In any case
---
static if(__traits(compiles, s=b+b))
{
static assert(__traits(compiles, b=s%b));
static assert(__traits(compiles, s=sb));
http://d.puremagic.com/issues/show_bug.cgi?id=5093
simon s.d.hamm...@googlemail.com changed:
What|Removed |Added
Attachment #812 is|0 |1
http://d.puremagic.com/issues/show_bug.cgi?id=5217
--- Comment #2 from Austin Hastings ah0801...@yahoo.com 2010-11-16 16:00:37
PST ---
What I'm asking for is abstract static. That is, a syntax for imposing a
requirement that a class (or struct) provide a static member function before it
can be
http://d.puremagic.com/issues/show_bug.cgi?id=5201
--- Comment #2 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-16 16:19:18
PST ---
Glancing at std.string.indexOf() again, it has different parameters than
std.algorithm - dealing with case sensitivity and whatnot. It also takes a
dchar
http://d.puremagic.com/issues/show_bug.cgi?id=5226
Summary: indexOf() which takes a pred but no needle
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority:
http://d.puremagic.com/issues/show_bug.cgi?id=5216
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5217
--- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-16 17:01:57
PST ---
Do template constraints not work for you in this case?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=2095
--- Comment #13 from bearophile_h...@eml.cc 2010-11-16 17:04:34 PST ---
Something about this topic:
http://blogs.msdn.com/b/ericlippert/archive/2007/10/17/covariance-and-contravariance-in-c-part-two-array-covariance.aspx
This is is an
http://d.puremagic.com/issues/show_bug.cgi?id=3827
Stewart Gordon s...@iname.com changed:
What|Removed |Added
CC||s...@iname.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=3827
--- Comment #18 from Stewart Gordon s...@iname.com 2010-11-16 17:15:03 PST ---
(In reply to comment #17)
For example, if a is a string[], then a ~ this that and a ~ this ~
that
evaluate to different strings.
Different string arrays even.
http://d.puremagic.com/issues/show_bug.cgi?id=5216
--- Comment #2 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-16 17:24:07
PST ---
I could have sworn that the online docs said that one of the main reasons for
/+ +/ was to comment out code, but regardless, it's not like you usually run
http://d.puremagic.com/issues/show_bug.cgi?id=5227
Summary: X ^^ FP at compile-time
Product: D
Version: D2
Platform: All
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=5217
--- Comment #4 from Austin Hastings ah0801...@yahoo.com 2010-11-16 18:53:00
PST ---
Template constraints do not work. The problem is not The input type must
behave in such-and-such manner, but rather Here is a template for most, but
not all,
http://d.puremagic.com/issues/show_bug.cgi?id=3827
nfx...@gmail.com changed:
What|Removed |Added
CC||nfx...@gmail.com
--- Comment #19
http://d.puremagic.com/issues/show_bug.cgi?id=5216
nfx...@gmail.com changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3827
--- Comment #20 from bearophile_h...@eml.cc 2010-11-16 19:38:56 PST ---
(In reply to comment #19)
(In reply to comment #17)
Not that there's any real use case for this that anyway. And those rare
use cases
I use automatic joining all
http://d.puremagic.com/issues/show_bug.cgi?id=5217
--- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-16 19:42:08
PST ---
Hmm. I think that I get what you're getting at, though it is a bit odd.
Certainly, requiring static functions is something different. I've never seen a
http://d.puremagic.com/issues/show_bug.cgi?id=5194
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5216
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=5199
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3889
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5228
--- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-16 20:55:47
PST ---
I feel like a moderate idiot. I didn't realize that you could get an
exception's message by accessing its public member variable msg. So, the
situation is not
http://d.puremagic.com/issues/show_bug.cgi?id=3889
--- Comment #3 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
21:30:44 PST ---
foo(null);
foo([]);
// OK, int[]
foo(cast(int[])null);
// OK, int[]
foo(cast(int[])[]);
// Partially OK, inside
http://d.puremagic.com/issues/show_bug.cgi?id=3827
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5199
--- Comment #4 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
21:34:06 PST ---
I'd rather say it's a dup of bug 3395.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this
http://d.puremagic.com/issues/show_bug.cgi?id=5199
--- Comment #5 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
21:39:09 PST ---
Disambiguation will make it hard to copy empty slices... well... such operation
is not needed too much either.
---
foo[]=(cast(Foo[])null)[]; //copy
http://d.puremagic.com/issues/show_bug.cgi?id=3147
--- Comment #6 from Sobirari Muhomori dfj1es...@sneakemail.com 2010-11-16
22:03:08 PST ---
There should be ints in shift asserts
---
static if(__traits(compiles, s=b+b))
{
static assert(__traits(compiles, b=i%b));
static
52 matches
Mail list logo