File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
test/library-tests/JSDoc/NameResolution Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,7 @@ class JSDocNamedTypeExpr extends JSDocTypeExpr {
372
372
* - `Baz` has prefix `Baz` and an empty suffix.
373
373
*/
374
374
predicate hasNameParts ( string prefix , string suffix ) {
375
+ not this = any ( JSDocQualifiedTypeAccess a ) .getBase ( ) and // restrict size of predicate
375
376
exists ( string regex , string name | regex = "([^.]+)(.*)" |
376
377
name = this .getRawName ( ) and
377
378
prefix = name .regexpCapture ( regex , 1 ) and
Original file line number Diff line number Diff line change 1
- | bar.js:5:14:5:18 | x | ns.very.long.namespace |
1
+ | bar.js:5:14:5:18 | x | x |
2
2
| bar.js:5:14:5:18 | x.Foo | ns.very.long.namespace.Foo |
3
- | bar.js:12:14:12:21 | iife | IIFE |
3
+ | bar.js:12:14:12:21 | iife | iife |
4
4
| bar.js:12:14:12:21 | iife.Foo | IIFE.Foo |
5
5
| closure.js:8:12:8:28 | goog | goog |
6
6
| closure.js:8:12:8:28 | goog.net | goog.net |
7
7
| closure.js:8:12:8:28 | goog.net.SomeType | goog.net.SomeType |
8
- | closure.js:9:12:9:23 | net | goog. net |
8
+ | closure.js:9:12:9:23 | net | net |
9
9
| closure.js:9:12:9:23 | net.SomeType | goog.net.SomeType |
10
10
| closure.js:10:12:10:19 | SomeType | goog.net.SomeType |
You can’t perform that action at this time.
0 commit comments