https://issues.dlang.org/show_bug.cgi?id=9930
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #14 from Walter Bright 2013-11-27
18:12:35 PST ---
> it actually prevents us from overloading on static-ness
I don't agree with static meaning that something goes into some separate
namespace, and I believe it is an advantage to
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #13 from Jonathan M Davis 2013-11-26 01:22:22
PST ---
>> e is an int
> Certainly not! This is like saying struct are just void[].
The base type of E is int. void[] is not the base type of anything. The two are
completely differe
https://d.puremagic.com/issues/show_bug.cgi?id=9930
Simen Kjaeraas changed:
What|Removed |Added
CC||simen.kja...@gmail.com
--- Comment #
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #11 from Jonathan M Davis 2013-11-25 21:01:05
PST ---
And the lookup rules must function very differently from how many programmers
would expect them to work if the compiler is finding e.A at all, since there is
no A in e, as e is
https://d.puremagic.com/issues/show_bug.cgi?id=9930
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #9 from yebblies 2013-11-26 15:29:44 EST ---
(In reply to comment #8)
> While it looks odd, it's a natural consequence of the lookup rules, and I
> don't
> think that adding special cases helps in the long run.
I disagree, but th
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #8 from Walter Bright 2013-11-25
12:33:50 PST ---
While it looks odd, it's a natural consequence of the lookup rules, and I don't
think that adding special cases helps in the long run.
--
Configure issuemail: https://d.puremagic
https://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #7 from yebblies 2013-11-24 14:15:07 EST ---
(In reply to comment #6)
> natural
enum I { a, b, d, e, g, k, m, n, o, s, t, u };
void main()
{
auto x = I.t.s.a.b.u.g.a.n.d.m.a.k.e.s.n.o.s.e.n.s.e;
}
--
Configure issuemail: ht
https://d.puremagic.com/issues/show_bug.cgi?id=9930
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment
https://d.puremagic.com/issues/show_bug.cgi?id=9930
yebblies changed:
What|Removed |Added
Keywords||pull
--- Comment #5 from yebblies 2013-11
https://d.puremagic.com/issues/show_bug.cgi?id=9930
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #3 from yeb
https://d.puremagic.com/issues/show_bug.cgi?id=9930
Andrej Mitrovic changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #4 from And
http://d.puremagic.com/issues/show_bug.cgi?id=9930
--- Comment #2 from Andrej Mitrovic 2013-06-03
10:03:19 PDT ---
To make sure Issue 10253 is implementable, I'd still like the following to work
(which currently does):
-
enum E
{
A,
B
}
struct S
{
E e;
alias e this;
}
au
14 matches
Mail list logo