2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(2,12): error TS1030: 'export' modifier already seen.
|
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(3,12): error TS1030: 'export' modifier already seen.
|
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(5,12): error TS1030: 'export' modifier already seen.
|
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(12,12): error TS1030: 'export' modifier already seen.
|
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(13,12): error TS1030: 'export' modifier already seen.
|
|
|
|
tests/cases/compiler/exportAlreadySeen.ts(15,12): error TS1030: 'export' modifier already seen.
|
|
|
|
|
|
|
|
|
2014-11-20 04:22:39 +01:00
|
|
|
==== tests/cases/compiler/exportAlreadySeen.ts (6 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
module M {
|
|
|
|
export export var x = 1;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
export export function f() { }
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
export export module N {
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
export export class C { }
|
|
|
|
export export interface I { }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module A {
|
|
|
|
export export var x;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
export export function f()
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
export export module N {
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'export' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
export export class C { }
|
|
|
|
export export interface I { }
|
|
|
|
}
|
|
|
|
}
|