TypeScript/tests/baselines/reference/dottedModuleName.errors.txt
2014-07-31 11:06:42 -07:00

26 lines
619 B
Plaintext

==== tests/cases/compiler/dottedModuleName.ts (3 errors) ====
module M {
export module N {
export function f(x:number)=>2*x;
~~
!!! Block or ';' expected.
~
!!! Function implementation is missing or not immediately following the declaration.
~
!!! 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);
}
}
}