| /third_party/typescript/tests/baselines/reference/ |
| D | for-of16.types | 2 class StringIterator { 3 >StringIterator : StringIterator 19 for (v of new StringIterator) { } // Should fail 21 >new StringIterator : StringIterator 22 >StringIterator : typeof StringIterator 24 for (v of new StringIterator) { } // Should still fail (related errors should still be shown even t… 26 >new StringIterator : StringIterator 27 >StringIterator : typeof StringIterator
|
| D | for-of16.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) 6 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of16.ts, 0, 22)) 12 >this : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) 19 for (v of new StringIterator) { } // Should fail 21 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) 23 for (v of new StringIterator) { } // Should still fail (related errors should still be shown even t… 25 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0))
|
| D | ES5For-ofTypeCheck10.js | 3 class StringIterator { class 15 for (var v of new StringIterator) { } 19 var StringIterator = /** @class */ (function () { 20 function StringIterator() { class in StringIterator 22 StringIterator.prototype.next = function () { 28 StringIterator.prototype[Symbol.iterator] = function () { 31 return StringIterator; 33 for (var _i = 0, _a = new StringIterator; _i < _a.length; _i++) {
|
| D | for-of14.types | 2 class StringIterator { 3 >StringIterator : StringIterator 16 for (v of new StringIterator) { } // Should fail because the iterator is not iterable 18 >new StringIterator : StringIterator 19 >StringIterator : typeof StringIterator
|
| D | for-of27.types | 2 class StringIterator { 3 >StringIterator : StringIterator 12 for (var v of new StringIterator) { } 14 >new StringIterator : StringIterator 15 >StringIterator : typeof StringIterator
|
| D | for-of33.types | 2 class StringIterator { 3 >StringIterator : StringIterator 16 for (var v of new StringIterator) { } 18 >new StringIterator : StringIterator 19 >StringIterator : typeof StringIterator
|
| D | for-of28.types | 2 class StringIterator { 3 >StringIterator : StringIterator 19 for (var v of new StringIterator) { } 21 >new StringIterator : StringIterator 22 >StringIterator : typeof StringIterator
|
| D | for-of25.types | 2 class StringIterator { 3 >StringIterator : StringIterator 19 for (var v of new StringIterator) { } 21 >new StringIterator : StringIterator 22 >StringIterator : typeof StringIterator
|
| D | for-of30.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of30.ts, 0, 22)) 18 >return : Symbol(StringIterator.return, Decl(for-of30.ts, 6, 5)) 21 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of30.ts, 8, 15)) 27 >this : Symbol(StringIterator, Decl(for-of30.ts, 0, 0)) 31 for (var v of new StringIterator) { } 33 >StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0))
|
| D | for-of34.types | 2 class StringIterator { 3 >StringIterator : StringIterator 23 for (var v of new StringIterator) { } 25 >new StringIterator : StringIterator 26 >StringIterator : typeof StringIterator
|
| D | ES5For-ofTypeCheck10.symbols | 3 class StringIterator { 4 >StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) 7 >next : Symbol(StringIterator.next, Decl(ES5For-ofTypeCheck10.ts, 1, 22)) 19 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(ES5For-ofTypeCheck10.ts, 7, 5)) 22 >this : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) 26 for (var v of new StringIterator) { } 28 >StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0))
|
| D | for-of15.types | 2 class StringIterator { 3 >StringIterator : StringIterator 25 for (v of new StringIterator) { } // Should fail 27 >new StringIterator : StringIterator 28 >StringIterator : typeof StringIterator
|
| D | for-of26.types | 2 class StringIterator { 3 >StringIterator : StringIterator 25 for (var v of new StringIterator) { } 27 >new StringIterator : StringIterator 28 >StringIterator : typeof StringIterator
|
| D | for-of28.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of28.ts, 0, 22)) 9 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of28.ts, 1, 14)) 15 >this : Symbol(StringIterator, Decl(for-of28.ts, 0, 0)) 19 for (var v of new StringIterator) { } 21 >StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0))
|
| D | for-of31.types | 2 class StringIterator { 3 >StringIterator : StringIterator 29 for (var v of new StringIterator) { } 31 >new StringIterator : StringIterator 32 >StringIterator : typeof StringIterator
|
| D | for-of34.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of34.ts, 0, 22)) 13 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of34.ts, 3, 5)) 19 >this : Symbol(StringIterator, Decl(for-of34.ts, 0, 0)) 23 for (var v of new StringIterator) { } 25 >StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0))
|
| D | for-of30.types | 2 class StringIterator { 3 >StringIterator : StringIterator 36 for (var v of new StringIterator) { } 38 >new StringIterator : StringIterator 39 >StringIterator : typeof StringIterator
|
| D | for-of35.types | 2 class StringIterator { 3 >StringIterator : StringIterator 32 for (var v of new StringIterator) { } 34 >new StringIterator : StringIterator 35 >StringIterator : typeof StringIterator
|
| D | for-of18.types | 2 class StringIterator { 3 >StringIterator : StringIterator 35 for (v of new StringIterator) { } // Should succeed 37 >new StringIterator : StringIterator 38 >StringIterator : typeof StringIterator
|
| D | for-of31.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of31.ts, 0, 22)) 16 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of31.ts, 6, 5)) 22 >this : Symbol(StringIterator, Decl(for-of31.ts, 0, 0)) 26 for (var v of new StringIterator) { } 28 >StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0))
|
| D | for-of15.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of15.ts, 0, 22)) 11 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of15.ts, 3, 5)) 17 >this : Symbol(StringIterator, Decl(for-of15.ts, 0, 0)) 24 for (v of new StringIterator) { } // Should fail 26 >StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0))
|
| D | ES5For-ofTypeCheck10.types | 3 class StringIterator { 4 >StringIterator : StringIterator 33 for (var v of new StringIterator) { } 35 >new StringIterator : StringIterator 36 >StringIterator : typeof StringIterator
|
| D | for-of26.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of26.ts, 0, 22)) 12 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of26.ts, 3, 5)) 18 >this : Symbol(StringIterator, Decl(for-of26.ts, 0, 0)) 25 for (var v of new StringIterator) { } 27 >StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0))
|
| D | for-of35.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of35.ts, 0, 22)) 19 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of35.ts, 6, 5)) 25 >this : Symbol(StringIterator, Decl(for-of35.ts, 0, 0)) 29 for (var v of new StringIterator) { } 31 >StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0))
|
| D | for-of18.symbols | 2 class StringIterator { 3 >StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0)) 6 >next : Symbol(StringIterator.next, Decl(for-of18.ts, 0, 22)) 18 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of18.ts, 6, 5)) 24 >this : Symbol(StringIterator, Decl(for-of18.ts, 0, 0)) 31 for (v of new StringIterator) { } // Should succeed 33 >StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0))
|