<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Jump to definition doesn't work for classes with a default constructor"
href="https://bugs.webkit.org/show_bug.cgi?id=164262#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Jump to definition doesn't work for classes with a default constructor"
href="https://bugs.webkit.org/show_bug.cgi?id=164262">bug 164262</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>Ahh, so this is the case when the class has a default constructor. In which case the constructor is actually an anonymous script that looks like:
(function() {
super(...arguments);
})
Which we hide by default because it doesn't have a name.
In this case, it would make more sense for us to jump to the `class {}` definition.
If JavaScriptCore has that location information, we could work out how to hook this up. (Maybe JSC doesn't, I don't know).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>