http://d.puremagic.com/issues/show_bug.cgi?id=6211
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6286
Summary: Static arrays can not be assigned from const(T)[N] to
T[N]
Product: D
Version: unspecified
Platform: Other
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=6286
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6286
--- Comment #2 from S�nke Ludwig lud...@informatik.uni-luebeck.de 2011-07-11
04:09:49 PDT ---
Note that in the test case both, the source and the destination are static
arrays of the same size. There is no reason why a direct assignment should
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #3 from Stewart Gordon s...@iname.com 2011-07-11 04:21:01 PDT ---
I disagree. The primary purpose of casting is simply to force an expression to
a specified type. This cast may or may not be legal. For example, you can't
cast
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #4 from Stewart Gordon s...@iname.com 2011-07-11 04:28:28 PDT ---
On the other hand, I can't see anybody wanting what actually happens when you
try casting an object array to an interface array. And it's an easy mistake
to
http://d.puremagic.com/issues/show_bug.cgi?id=6192
--- Comment #4 from bearophile_h...@eml.cc 2011-07-11 04:58:06 PDT ---
Thank you for your work. The new timings (after pull 74):
sort-sort2 benchmarks (milliseconds), N=600:
Random distribution:
sort:1261
sort2: 1201
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #5 from yebblies yebbl...@gmail.com 2011-07-11 23:36:00 EST ---
I do understand, but nothing you've said changes the fact that the behavior is
completely intentional. Cast is, as always, a blunt instrument that bypasses
the type
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #6 from Stewart Gordon s...@iname.com 2011-07-11 06:45:20 PDT ---
(In reply to comment #5)
I do understand, but nothing you've said changes the fact that the behavior is
completely intentional.
What is your source for this fact?
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #7 from yebblies yebbl...@gmail.com 2011-07-12 00:38:32 EST ---
(In reply to comment #6)
(In reply to comment #5)
I do understand, but nothing you've said changes the fact that the behavior
is
completely intentional.
http://d.puremagic.com/issues/show_bug.cgi?id=6286
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Keywords||patch, rejects-valid
http://d.puremagic.com/issues/show_bug.cgi?id=2270
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
Keywords|wrong-code |
http://d.puremagic.com/issues/show_bug.cgi?id=6026
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6021
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Summary|std.parallelism missing
http://d.puremagic.com/issues/show_bug.cgi?id=5869
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5836
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5598
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5458
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5059
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6101
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6286
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2011-07-11 08:48:22
PDT ---
Ah yes. I didn't read carefully enough. If both src and dst are static arrays,
then
dst = src;
should work. It's when one is a dynamic array that it
http://d.puremagic.com/issues/show_bug.cgi?id=2270
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #10 from Steven Schveighoffer schvei...@yahoo.com 2011-07-11
09:08:48 PDT ---
(In reply to comment #9)
On a semi-related but not all that related note
Interesting :)
I would point out to Steven
that Kenji has made pull
http://d.puremagic.com/issues/show_bug.cgi?id=6287
Summary: function pointers to non-static function without an
object-instance
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=6287
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3720
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||suicide...@xited.de
---
http://d.puremagic.com/issues/show_bug.cgi?id=6277
--- Comment #4 from bearophile_h...@eml.cc 2011-07-11 09:55:45 PDT ---
Steven Schveighoffer reminds this is probably OK (this compiles with DMD
2.054):
void main() {
auto x = 1f;
static assert(is(typeof(x) == float));
}
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=4407
--- Comment #4 from bearophile_h...@eml.cc 2011-07-11 10:03:16 PDT ---
One example of bug related to x=x; found inside the good QT libs:
PassRefPtrStructure
Structure::getterSetterTransition(Structure* structure)
{
...
RefPtrStructure
http://d.puremagic.com/issues/show_bug.cgi?id=6288
Summary: std.conv.to removes const/immutable when converting a
class
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #11 from Steven Schveighoffer schvei...@yahoo.com 2011-07-11
10:20:10 PDT ---
(In reply to comment #10)
Actually, I'm looking at std.conv.to in that pull request and see a
significant
bug, because cast is so dangerous! (will
http://d.puremagic.com/issues/show_bug.cgi?id=6284
kenn...@gmail.com changed:
What|Removed |Added
Keywords||patch
--- Comment #2 from
http://d.puremagic.com/issues/show_bug.cgi?id=2270
--- Comment #12 from Stewart Gordon s...@iname.com 2011-07-11 14:41:54 PDT ---
(In reply to comment #8)
IMO, cast should be reserved for specifically I know what I'm
doing stuff. dynamic cast (casting from a base to derived class)
should
http://d.puremagic.com/issues/show_bug.cgi?id=2270
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=6289
Summary: Make slices of const/immutable arrays mutable (but
keep the elements const/immutable)
Product: D
Version: unspecified
Platform: All
OS/Version: All
http://d.puremagic.com/issues/show_bug.cgi?id=4890
Jakob Bornecrantz wallbra...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6290
Summary: GC breaks if a thread is allocated on Mac OSX
Product: D
Version: D1
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: blocker
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=6290
Jakob Bornecrantz wallbra...@gmail.com changed:
What|Removed |Added
Priority|P2 |P1
--
http://d.puremagic.com/issues/show_bug.cgi?id=6291
Summary: Warn on likely hex literal bug
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=6291
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6292
Summary: HTOD hides constants behind a comment
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component:
40 matches
Mail list logo