TypeScript/tests/baselines/reference/asiReturn.errors.txt

5 lines
245 B
Plaintext
Raw Normal View History

2014-07-26 01:17:30 +02:00
==== tests/cases/compiler/asiReturn.ts (1 errors) ====
// This should be an error for using a return outside a function, but ASI should work properly
return
~~~~~~
!!! A 'return' statement can only be used within a function body.