TypeScript/tests/baselines/reference/parserRegularExpression1.errors.txt
2014-09-12 13:35:07 -07:00

7 lines
431 B
Plaintext

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