14 lines
No EOL
723 B
Text
14 lines
No EOL
723 B
Text
tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts(2,1): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode
|
|
tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts(2,1): error TS2304: Cannot find name 'yield'.
|
|
tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts(2,7): error TS2304: Cannot find name 'foo'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts (3 errors) ====
|
|
"use strict";
|
|
yield(foo);
|
|
~~~~~
|
|
!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode
|
|
~~~~~
|
|
!!! error TS2304: Cannot find name 'yield'.
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'. |