1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixed Go To Definition for operator overloads

This commit is contained in:
Brian Fiete 2020-08-29 07:07:24 -07:00
parent cb2479083a
commit 12ed915194

View file

@ -6716,6 +6716,9 @@ namespace IDE.ui
let c = ewc.mData.mText[checkPos].mChar; let c = ewc.mData.mText[checkPos].mChar;
if ((c.IsLetterOrDigit) || (c == '_') || (c == '@')) if ((c.IsLetterOrDigit) || (c == '_') || (c == '@'))
return true; return true;
let elementType = (SourceElementType)ewc.mData.mText[checkPos].mDisplayTypeId;
if (elementType == .Method)
return true;
} }
return false; return false;