2014-07-23 01:36:53 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement2.ts (2 errors) ====
|
2014-07-22 02:09:14 +02:00
|
|
|
with (1)
|
|
|
|
~
|
|
|
|
!!! All symbols within a 'with' block will be resolved to 'any'.
|
2014-07-23 01:36:53 +02:00
|
|
|
return;
|
|
|
|
~~~~~~
|
|
|
|
!!! A 'return' statement can only be used within a function body.
|