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

12 lines
474 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserErrantAccessibilityModifierInModule1.ts (3 errors) ====
module M {
var x=10; // variable local to this module body
private y=x; // property visible only in module
~~~~~~~
!!! Declaration or statement expected.
~
!!! Cannot find name 'y'.
export var z=y; // property visible to any code
~
!!! Cannot find name 'y'.
}