https://issues.dlang.org/show_bug.cgi?id=14161
--- Comment #10 from Ketmar Dark ---
ah, the normal D attitude. "beginners sux!" (c) pascal/Cubic Team
--
https://issues.dlang.org/show_bug.cgi?id=14161
--- Comment #9 from Steven Schveighoffer ---
(In reply to bearophile_hugs from comment #7)
> But this behaviour looks a little surprising. So perhaps in this case
> specifc it's better to give a shadowing error (with a warning/deprecation
> phase fi
https://issues.dlang.org/show_bug.cgi?id=14161
--- Comment #8 from Ketmar Dark ---
i don't think that shadowing globals should always generate warning. i believe
that it's enough to generate warning only when there is possible UFCS
shadowing.
so:
import std.stdio;
void foo(int a) {
writeln
https://issues.dlang.org/show_bug.cgi?id=14161
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment #
https://issues.dlang.org/show_bug.cgi?id=14161
--- Comment #6 from Ketmar Dark ---
Fyodor is not talking about "fixing" UFCS. what he talking about is issuing a
warning when there is local declaration with the same name as global one, and
global one was chosen by UFCS.
here compiler should issue
https://issues.dlang.org/show_bug.cgi?id=14161
Steven Schveighoffer changed:
What|Removed |Added
Status|REOPENED|RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=14161
Vlad Levenfeld changed:
What|Removed |Added
CC||vlevenf...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=14161
Kenji Hara changed:
What|Removed |Added
Severity|normal |enhancement
--
https://issues.dlang.org/show_bug.cgi?id=14161
--- Comment #4 from Ketmar Dark ---
please, open ER for it. this is definitely not a bug, so it shouldn't be opened
as *bug* report, especially with the current subj. and then please close this
as "notabug" again.
--
https://issues.dlang.org/show_bug.cgi?id=14161
Fyodor Ustinov changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
https://issues.dlang.org/show_bug.cgi?id=14161
Ketmar Dark changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=14161
Fyodor Ustinov changed:
What|Removed |Added
CC||u...@ufm.su
--- Comment #1 from Fyodor Usti
12 matches
Mail list logo