2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/unexpectedStatementBlockTerminator.ts(4,1): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/unexpectedStatementBlockTerminator.ts (1 errors) ====
|
|
|
|
class Foo {}
|
|
|
|
|
|
|
|
class Bar {}
|
|
|
|
case
|
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1128: Declaration or statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
function Goo() {return {a:1,b:2};}
|
|
|
|
|