TypeScript/tests/baselines/reference/es6ImportNamedImportWithExport.errors.txt
Mohamed Hegazy 96e5286003 Merge branch 'master' into es6ImportDts
Conflicts:
	tests/baselines/reference/es6ImportDefaultBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-02-24 15:53:38 -08:00

77 lines
3.3 KiB
Plaintext

tests/cases/compiler/client.ts(1,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(2,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(4,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(6,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(9,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(11,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(13,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(16,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(19,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(21,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(25,1): error TS1191: An import declaration cannot have modifiers.
tests/cases/compiler/client.ts(26,1): error TS1191: An import declaration cannot have modifiers.
==== tests/cases/compiler/server.ts (0 errors) ====
export var a = 10;
export var x = a;
export var m = a;
export var a1 = 10;
export var x1 = 10;
export var z1 = 10;
export var z2 = 10;
export var aaaa = 10;
==== tests/cases/compiler/client.ts (12 errors) ====
export import { } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export import { a } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = a;
export import { a as b } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = b;
export import { x, a as y } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = x;
export var xxxx = y;
export import { x as z, } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = z;
export import { m, } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = m;
export import { a1, x1 } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = a1;
export var xxxx = x1;
export import { a1 as a11, x1 as x11 } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var xxxx = a11;
export var xxxx = x11;
export import { z1 } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var z111 = z1;
export import { z2 as z3 } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export var z2 = z3; // z2 shouldn't give redeclare error
// Non referenced imports
export import { aaaa } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.
export import { aaaa as bbbb } from "server";
~~~~~~
!!! error TS1191: An import declaration cannot have modifiers.