http://d.puremagic.com/issues/show_bug.cgi?id=6843
Summary: Function to check whether std.conv.to will succeed
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=6843
--- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 00:19:29
PDT ---
Oh, and std.conv.to and std.conv.parse would probably use tryTo and tryParse
respectively internally in order to reduced code duplication, but I suppose
that
http://d.puremagic.com/issues/show_bug.cgi?id=6842
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=5409
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #4
http://d.puremagic.com/issues/show_bug.cgi?id=6842
--- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-23 02:21:48 PDT ---
(In reply to comment #2)
If foo.a is not a symbol, why does alias foo.a b; compile without an error?
Now compiler treats foo.a as Foo.a, and Foo.a is a symbol.
I
http://d.puremagic.com/issues/show_bug.cgi?id=6492
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6753
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||patch, rejects-valid
http://d.puremagic.com/issues/show_bug.cgi?id=5123
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6479
--- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-10-23 04:58:07 PDT ---
This is a bug related to forward reference.
struct Memory
{
mixin Wrapper!();
}
//mixin template Wrapper() {} // OK
struct Image
{
Memory sup;
alias
http://d.puremagic.com/issues/show_bug.cgi?id=6777
--- Comment #1 from Kenji Hara k.hara...@gmail.com 2011-10-23 05:09:22 PDT ---
I think this is right behavior.
In D2, the implicit conversion from class type to void* is disabled. So
auto p = cast(void*) c;
the expression c is transformed
http://d.puremagic.com/issues/show_bug.cgi?id=6844
Summary: Reinterpret cast of static to dynamic array doesn't
work in safe code
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=6479
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||patch
--- Comment #3
http://d.puremagic.com/issues/show_bug.cgi?id=6492
--- Comment #2 from Trass3r mrmoc...@gmx.de 2011-10-23 07:07:04 PDT ---
How embarrassing.
--
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=6492
--- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-23 07:15:24 PDT ---
Never mind!
--
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=6843
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=6777
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=2778
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||patch
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=6669
--- Comment #6 from Brad Roberts bra...@puremagic.com 2011-10-23 09:44:46 PDT
---
I just tested with the most recent beta, built by Walter rather than hand built
on the lion box, and it's working fine.
Peter, if you can confirm that it's
http://d.puremagic.com/issues/show_bug.cgi?id=6843
--- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 11:10:36
PDT ---
They're similar but not the same. Bug# 6840 is suggesting the creation of a
template which wraps whether std.conv.to succeeds by catching the exception.
This
http://d.puremagic.com/issues/show_bug.cgi?id=6845
Summary: ICE in Type::syntaxCopy
Product: D
Version: D1 D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=6845
--- Comment #1 from Trass3r mrmoc...@gmx.de 2011-10-23 11:15:57 PDT ---
This is more like the original problem:
struct Blub
{
//alias int type;
}
struct Bla(T)
{
this(T.type t) // doesn't happen with a normal method
{
}
}
http://d.puremagic.com/issues/show_bug.cgi?id=6753
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6825
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6843
--- Comment #4 from bearophile_h...@eml.cc 2011-10-23 12:46:46 PDT ---
(In reply to comment #3)
They're similar but not the same. Bug# 6840 is suggesting the creation of a
template which wraps whether std.conv.to succeeds by catching the
http://d.puremagic.com/issues/show_bug.cgi?id=6843
--- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 12:53:16
PDT ---
And this enhancement request is for a conversion function which doesn't throw.
And once you have such a function, I see no need for maybeTo, but that's a
http://d.puremagic.com/issues/show_bug.cgi?id=6846
Summary: std.concurrency and fork/execv
Product: D
Version: D2
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
http://d.puremagic.com/issues/show_bug.cgi?id=6744
Brad Roberts bra...@puremagic.com changed:
What|Removed |Added
CC||bra...@puremagic.com
http://d.puremagic.com/issues/show_bug.cgi?id=6669
Brad Roberts bra...@puremagic.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5278
Brad Roberts bra...@puremagic.com changed:
What|Removed |Added
Summary|DMD generates programs that |gentoo's 'hardended'
http://d.puremagic.com/issues/show_bug.cgi?id=6744
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 14:49:08
PDT ---
I have code with a similar error which compiled with 2.054 (or at least between
the release of 2.054 and 2.055 - it compiled before, but it won't compile with
http://d.puremagic.com/issues/show_bug.cgi?id=6744
Brad Roberts bra...@puremagic.com changed:
What|Removed |Added
Severity|regression |critical
---
http://d.puremagic.com/issues/show_bug.cgi?id=6744
--- Comment #6 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 17:03:03
PDT ---
Well, I'm definitely confused. I finally managed to reduce my code to a
reasonably test case, but I can't find a version of the compiler where it
worked. So,
http://d.puremagic.com/issues/show_bug.cgi?id=4584
--- Comment #2 from Olivier Fabre axel.foster-5bcw...@yopmail.com 2011-10-23
18:52:08 PDT ---
Oh well, Johannes' test case actually works fine here, so my bug might be a
different one. Unless the value of optimisticInsertionSortGetsBetter in
http://d.puremagic.com/issues/show_bug.cgi?id=4224
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|REOPENED|RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6434
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
CC||pelle.mans...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=6434
--- Comment #8 from Kenji Hara k.hara...@gmail.com 2011-10-23 22:29:00 PDT ---
Reopened pull request.
https://github.com/D-Programming-Language/dmd/pull/349
Points:
1. alias this lookup should be considered first.
It is the synonym of
http://d.puremagic.com/issues/show_bug.cgi?id=6569
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=2778
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
CC|
38 matches
Mail list logo