You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Quick info" and "go to definition" not working inside old school JavaScript constructor functions #26666
We'd recognize this as a class if it used the standard ES5-style prototype properties, but objects like this which don't reuse method closures are fairly rare and often don't represent class objects, so we're more conservative here and don't consider this to be all part of the same object.
Activity
mjbvz commentedon Aug 24, 2018
Possibly same problem as #18171
RyanCavanaugh commentedon Aug 24, 2018
We'd recognize this as a class if it used the standard ES5-style
prototypeproperties, but objects like this which don't reuse method closures are fairly rare and often don't represent class objects, so we're more conservative here and don't consider this to be all part of the same object.