Conversation
|
Add fix for Issue 7322 - Taking address of deprecated functions isn't refused |
|
Bug |
|
Are you really talking about bug 1083? By the way, the are several others issues related to 1983: |
|
Sorry, I'm talking about bug 1983. |
|
Updated. |
|
Updated for the issues: Issue 7549 - typeof of overloaded function picks the lexically first one |
|
ping |
7b219ec to
d707e3b
Compare
|
ping @WalterBright @yebblies @MartinNowak please review |
|
During two years, I'm repeatedly rebasing this PR to keep mergeable. Type system bug is much higher priority than other any enhancement features. I hope to other committers to be prefer fixing essential language bugs than cosmetic syntax changes. |
ed209fa to
a7fd8f8
Compare
|
Ping. |
|
This has been a bug for 7 years. Is this ever going to get fixed?! |
|
Right after bug 314. |
|
Oh, didn't see that there. :-) |
src/mtype.d
Outdated
| e = DsymbolExp.resolve(loc, sc, s, false); // todo | ||
| else | ||
| e = new VarExp(loc, s.isDeclaration()); | ||
| e = new VarExp(loc, s.isDeclaration(), false); // todo |
There was a problem hiding this comment.
I've tested a new better fix for VarExp.hasOverloads and others' setting. Now it's changed to give true, and the commit is properly in #5198.
ceb16bc to
2ae5ef5
Compare
1f45505 to
135f004
Compare
Carry information which function is overloaded and use it properly.
…legate over function pointer
…selects the lexically first one if there is no match
|
Since @9rnsr has sadly disappeared from the D scene, I'm going to send this to the Phantom Zone. |
http://d.puremagic.com/issues/show_bug.cgi?id=1983
Depends on #2125, #2123, and dlang/phobos#1331.