[Issue 20013] New: Visual D cannot identify overloaded functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 30 11:55:10 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20013

          Issue ID: 20013
           Summary: Visual D cannot identify overloaded functions
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: visuald
          Assignee: nobody at puremagic.com
          Reporter: x13989 at 126.com

//
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

--


More information about the Digitalmars-d-bugs mailing list