2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/externalModules/foo1.ts(2,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
|
|
|
tests/cases/conformance/externalModules/foo1.ts(2,10): error TS1003: Identifier expected.
|
|
|
|
tests/cases/conformance/externalModules/foo2.ts(1,10): error TS1003: Identifier expected.
|
|
|
|
tests/cases/conformance/externalModules/foo3.ts(1,10): error TS1003: Identifier expected.
|
|
|
|
tests/cases/conformance/externalModules/foo4.ts(1,10): error TS1003: Identifier expected.
|
|
|
|
tests/cases/conformance/externalModules/foo6.ts(1,10): error TS1003: Identifier expected.
|
|
|
|
tests/cases/conformance/externalModules/foo6.ts(1,14): error TS1109: Expression expected.
|
|
|
|
tests/cases/conformance/externalModules/foo7.ts(1,15): error TS1005: ';' expected.
|
|
|
|
tests/cases/conformance/externalModules/foo8.ts(1,10): error TS1003: Identifier expected.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/externalModules/foo1.ts (2 errors) ====
|
|
|
|
var x = 10;
|
|
|
|
export = typeof x; // Error
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
|
2014-07-18 23:06:32 +02:00
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo2.ts (1 errors) ====
|
|
|
|
export = "sausages"; // Error
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo3.ts (1 errors) ====
|
|
|
|
export = class Foo3 {}; // Error
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo4.ts (1 errors) ====
|
|
|
|
export = true; // Error
|
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo5.ts (0 errors) ====
|
|
|
|
export = undefined; // Valid. undefined is an identifier in JavaScript/TypeScript
|
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo6.ts (2 errors) ====
|
|
|
|
export = void; // Error
|
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1109: Expression expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo7.ts (1 errors) ====
|
|
|
|
export = Date || String; // Error
|
|
|
|
~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1005: ';' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo8.ts (1 errors) ====
|
|
|
|
export = null; // Error
|
|
|
|
~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1003: Identifier expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
|