TypeScript/tests/baselines/reference/parserRegularExpression1.errors.txt
2014-07-23 12:07:46 -07:00

4 lines
240 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts (1 errors) ====
return /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g;
~~~~~~
!!! A 'return' statement can only be used within a function body.