Bug 20013 – Visual D cannot identify overloaded functions
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2019-06-30T11:55:10Z
Last change time
2020-01-24T01:40:26Z
Assigned to
No Owner
Creator
Srxy Wang
Comments
Comment #0 by x13989 — 2019-06-30T11:55:10Z
//
int A(){
return 1;
}
int A(int m, bool b=false){
if(b){
return m+1;
}
return 1;
}
//
int main(){
A(23,true);
}
If I hover on “A(23,true), it would prompt “int A()” instead of “int A(int m, bool b=false”.
If I set my cursor at “A(23,true)” and press F12 to go to definition, it would jump to the overload without parameters instead of the second overload.
Please fix this, thanks!
VS 16.1.4 + VD 0.50.0