http://d.puremagic.com/issues/show_bug.cgi?id=5868
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #12 from yeb
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #11 from Jonathan M Davis 2012-01-27 21:24:48
PST ---
There are arguments for it which relate to generic programming. It's not that
hard to end up with templated code that would have issues compiling if the
compiler errored out on
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #10 from hst...@quickfur.ath.cx 2012-01-27 21:12:58 PST ---
Yeah, invalid attributes should not be ignored. They should always generate a
compile-time error. Just as expressions with no side-effects generate an error
when they appear
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #9 from bearophile_h...@eml.cc 2012-01-26 18:07:08 PST ---
(In reply to comment #7)
> There's nothing technically wrong with it, but it's misleading.
I think here there's material for a diagnostic enhancement request.
(In reply to
http://d.puremagic.com/issues/show_bug.cgi?id=5868
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #8
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #7 from hst...@quickfur.ath.cx 2012-01-26 17:44:20 PST ---
There's nothing technically wrong with it, but it's misleading. When you write:
class A {
int x;
this(int) { ... }
static {
int y;
this(uint) {
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #6 from Walter Bright 2012-01-26
17:19:02 PST ---
I don't think there's anything wrong with the current setup.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail beca
http://d.puremagic.com/issues/show_bug.cgi?id=5868
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #4 from hst...@quickfur.ath.cx 2012-01-26 12:35:32 PST ---
So the right syntax is:
class A {
static {
...
static this() { ... }
...
}
}
?
Or alternatively
class A {
static { ... }
static th
http://d.puremagic.com/issues/show_bug.cgi?id=5868
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5868
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=5868
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #1 from Don 2
12 matches
Mail list logo