File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function foo00(x) {
1919 var v = x ;
2020 ( function ( ) { return x + v } ) ;
2121 ( ( ) => x + v ) ;
22- if ( x == 1 ) {
22+ if ( x == "1" ) {
2323 return ;
2424 }
2525 }
@@ -158,7 +158,7 @@ function foo00_c(x) {
158158 var v = x ;
159159 ( function ( ) { return x + v } ) ;
160160 ( ( ) => x + v ) ;
161- if ( x == 1 ) {
161+ if ( x == "1" ) {
162162 return ;
163163 }
164164 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function foo00(x) {
2121 var v = x ;
2222 ( function ( ) { return x + v } ) ;
2323 ( ( ) => x + v ) ;
24- if ( x == 1 ) {
24+ if ( x == "1" ) {
2525 return ;
2626 }
2727 }
@@ -160,7 +160,7 @@ function foo00_c(x) {
160160 var v = x ;
161161 ( function ( ) { return x + v } ) ;
162162 ( ( ) => x + v ) ;
163- if ( x == 1 ) {
163+ if ( x == "1" ) {
164164 return ;
165165 }
166166 }
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ for (let x of []) {
1313for ( let x in [ ] ) {
1414 ( function ( ) { return x } ) ;
1515 ( ( ) => x ) ;
16- if ( x == 1 ) {
16+ if ( x == "1" ) {
1717 break ;
1818 }
19- if ( x == 2 ) {
19+ if ( x == "2" ) {
2020 continue ;
2121 }
2222}
@@ -132,10 +132,10 @@ for (const x of []) {
132132for ( const x in [ ] ) {
133133 ( function ( ) { return x } ) ;
134134 ( ( ) => x ) ;
135- if ( x == 1 ) {
135+ if ( x == "1" ) {
136136 break ;
137137 }
138- if ( x == 2 ) {
138+ if ( x == "2" ) {
139139 continue ;
140140 }
141141}
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ for (let x of []) {
1414for ( let x in [ ] ) {
1515 ( function ( ) { return x } ) ;
1616 ( ( ) => x ) ;
17- if ( x == 1 ) {
17+ if ( x == "1" ) {
1818 break ;
1919 }
20- if ( x == 2 ) {
20+ if ( x == "2" ) {
2121 continue ;
2222 }
2323}
@@ -133,10 +133,10 @@ for (const x of []) {
133133for ( const x in [ ] ) {
134134 ( function ( ) { return x } ) ;
135135 ( ( ) => x ) ;
136- if ( x == 1 ) {
136+ if ( x == "1" ) {
137137 break ;
138138 }
139- if ( x == 2 ) {
139+ if ( x == "2" ) {
140140 continue ;
141141 }
142142}
Original file line number Diff line number Diff line change 2121for ( let x in [ ] ) {
2222 ( function ( ) { return x } ) ;
2323 ( ( ) => x ) ;
24- if ( x == 1 ) {
24+ if ( x == "1" ) {
2525 break ;
2626 }
27- if ( x == 1 ) {
27+ if ( x == "1" ) {
2828 break l00;
2929 }
30- if ( x == 2 ) {
30+ if ( x == "2" ) {
3131 continue ;
3232 }
33- if ( x == 2 ) {
33+ if ( x == "2" ) {
3434 continue l00;
3535 }
3636}
@@ -209,16 +209,16 @@ l00_c:
209209for ( const x in [ ] ) {
210210 ( function ( ) { return x } ) ;
211211 ( ( ) => x ) ;
212- if ( x == 1 ) {
212+ if ( x == "1" ) {
213213 break ;
214214 }
215- if ( x == 1 ) {
215+ if ( x == "1" ) {
216216 break l00_c;
217217 }
218- if ( x == 2 ) {
218+ if ( x == "2" ) {
219219 continue ;
220220 }
221- if ( x == 2 ) {
221+ if ( x == "2" ) {
222222 continue l00_c;
223223 }
224224}
Original file line number Diff line number Diff line change 2222for ( let x in [ ] ) {
2323 ( function ( ) { return x } ) ;
2424 ( ( ) => x ) ;
25- if ( x == 1 ) {
25+ if ( x == "1" ) {
2626 break ;
2727 }
28- if ( x == 1 ) {
28+ if ( x == "1" ) {
2929 break l00;
3030 }
31- if ( x == 2 ) {
31+ if ( x == "2" ) {
3232 continue ;
3333 }
34- if ( x == 2 ) {
34+ if ( x == "2" ) {
3535 continue l00;
3636 }
3737}
@@ -210,16 +210,16 @@ l00_c:
210210for ( const x in [ ] ) {
211211 ( function ( ) { return x } ) ;
212212 ( ( ) => x ) ;
213- if ( x == 1 ) {
213+ if ( x == "1" ) {
214214 break ;
215215 }
216- if ( x == 1 ) {
216+ if ( x == "1" ) {
217217 break l00_c;
218218 }
219- if ( x == 2 ) {
219+ if ( x == "2" ) {
220220 continue ;
221221 }
222- if ( x == 2 ) {
222+ if ( x == "2" ) {
223223 continue l00_c;
224224 }
225225}
Original file line number Diff line number Diff line change 55
66goTo . marker ( ) ;
77
8- verify . quickInfoIs ( 'var p: any ' , "" ) ;
8+ verify . quickInfoIs ( 'var p: string ' , "" ) ;
You can’t perform that action at this time.
0 commit comments