TypeScript/tests/baselines/reference/assignmentToFunction.errors.txt
2014-07-12 17:30:19 -07:00

15 lines
378 B
Plaintext

==== tests/cases/compiler/assignmentToFunction.ts (2 errors) ====
function fn() { }
fn = () => 3;
~~
!!! Invalid left-hand side of assignment expression.
module foo {
function xyz() {
function bar() {
}
bar = null;
~~~
!!! Invalid left-hand side of assignment expression.
}
}