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

18 lines
640 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement4.ts(3,9): error TS2304: Cannot find name 'a'.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement4.ts(4,3): error TS1109: Expression expected.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement4.ts (2 errors) ====
class Foo {
f1() {
if (a.b)
~
!!! error TS2304: Cannot find name 'a'.
2014-07-13 01:04:16 +02:00
}
~
!!! error TS1109: Expression expected.
2014-07-13 01:04:16 +02:00
f2() {
}
f3() {
}
}