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

26 lines
619 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/dottedModuleName.ts (3 errors) ====
module M {
export module N {
export function f(x:number)=>2*x;
~~
!!! Block or ';' expected.
2014-07-31 01:27:13 +02:00
~
!!! Function implementation is missing or not immediately following the declaration.
2014-07-13 01:04:16 +02:00
~
!!! Cannot find name 'x'.
export module X.Y.Z {
export var v2=f(v);
}
}
}
module M.N {
export module X {
export module Y.Z {
export var v=f(10);
}
}
}