Commit Graph

1536 Commits

Author SHA1 Message Date
Mohamed Hegazy
d47445b175 Merge branch 'exportEquals' of https://github.com/Microsoft/TypeScript into exportEquals 2015-03-23 12:37:41 -07:00
Mohamed Hegazy
86d561d2be Check for instantiation on export default in ES6 2015-03-23 11:17:40 -07:00
Mohamed Hegazy
f90253f73e Merge branch 'master' into exportEquals
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/emitter.ts
	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-03-23 11:06:44 -07:00
Anders Hejlsberg
e63854b40e Adding basic tests 2015-03-22 12:18:56 -07:00
Anders Hejlsberg
57a9fc54c8 Separate 'export default' and 'export =' 2015-03-21 13:12:39 -07:00
Cyrus Najmabadi
9ae0815e21 Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6. 2015-03-20 16:53:47 -07:00
Daniel Rosenwasser
3e7e9f43ca Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty
Fixed crash on goToDef when a shorthand property refers to an undefined entity
2015-03-18 18:31:54 -07:00
Daniel Rosenwasser
d06f71ef9c Merge pull request #2413 from Microsoft/constAntlyAPainForUs
Fix getOccurrences for 'const' modifier with exported & ambient declarations
2015-03-18 16:08:34 -07:00
Daniel Rosenwasser
3b453e68c8 Extended test. 2015-03-18 16:03:33 -07:00
Vladimir Matveev
371f2df90d Merge pull request #2139 from Microsoft/DtsExports_all
Exports + .d.ts emit
2015-03-18 14:45:05 -07:00
Daniel Rosenwasser
773530c699 Fixed test. 2015-03-18 14:43:07 -07:00
Vladimir Matveev
2ad40c25c9 addressed PR feedback 2015-03-18 14:29:02 -07:00
Daniel Rosenwasser
2902aa2ba3 Added tests. 2015-03-18 14:21:17 -07:00
Daniel Rosenwasser
355dcd11c8 Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs
Better completions in incomplete constructs
2015-03-18 14:11:05 -07:00
Daniel Rosenwasser
9a507fa5bf Fixed test. 2015-03-18 14:06:58 -07:00
Daniel Rosenwasser
ce3a91c186 Added tests for const modifiers. 2015-03-18 13:55:09 -07:00
Daniel Rosenwasser
e82ea7df0f Added test for completions at beginning of file. 2015-03-18 12:12:57 -07:00
Cyrus Najmabadi
9582d7cf28 Add test for pinned comments. 2015-03-17 18:43:39 -07:00
Vladimir Matveev
e4f6f167f6 merge with master, accepted baselines 2015-03-17 17:05:30 -07:00
Vladimir Matveev
8afde73e0b drop interned indentation prefixes if format options has changed 2015-03-17 16:34:13 -07:00
Daniel Rosenwasser
e49fc058b0 Added tests. 2015-03-17 13:33:01 -07:00
Mohamed Hegazy
a06ce61684 Merge branch 'master' into es6ImportExportEmit 2015-03-17 13:03:17 -07:00
Daniel Rosenwasser
735452c80b Merge branch 'master' into completionsInIncompleteConstructs
Conflicts:
	src/services/formatting/smartIndenter.ts
	src/services/services.ts
2015-03-17 12:39:37 -07:00
Daniel Rosenwasser
7a716d9d42 Start handling element access expressions. 2015-03-17 12:27:59 -07:00
Daniel Rosenwasser
754a8a617c More cases and tests for them. 2015-03-17 12:21:35 -07:00
Jason Freeman
2bcf84c73b Merge pull request #2356 from Microsoft/typeParameterFixing
Make sure type parameters stay fixed throughout the inference process
2015-03-17 11:42:21 -07:00
Daniel Rosenwasser
122721005b Merge pull request #2385 from Microsoft/completeIsCompleteNode
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Jason Freeman
3879d0ae9a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-17 10:45:41 -07:00
Daniel Rosenwasser
ad084ded72 Account for typeof expressions, added test. 2015-03-17 08:07:40 -07:00
Daniel Rosenwasser
f2a7367e9b Added index signature case. 2015-03-17 07:50:15 -07:00
Daniel Rosenwasser
34a3fc4f78 Fixed up more tests. 2015-03-17 00:44:13 -07:00
Daniel Rosenwasser
c30b71db2c Removed negations from test. 2015-03-17 00:41:09 -07:00
Daniel Rosenwasser
f1d5582a69 Fixed missing marker. 2015-03-17 00:39:46 -07:00
Daniel Rosenwasser
92955a8f8d Fixed up tests. 2015-03-17 00:32:57 -07:00
Daniel Rosenwasser
8eae639a94 Added tests for #1410. 2015-03-17 00:16:53 -07:00
Daniel Rosenwasser
693da9a6df Added tests. 2015-03-17 00:16:50 -07:00
Daniel Rosenwasser
88adb8fbb4 Added tests for completions before a new scope.
Tests for #2292.
2015-03-17 00:16:47 -07:00
Daniel Rosenwasser
577c12e42e Added accumulated tests. 2015-03-16 23:19:21 -07:00
Daniel Rosenwasser
3eea65512c Rename tests. 2015-03-16 22:13:55 -07:00
Daniel Rosenwasser
a7f57cbe41 Indentation within binding patterns.
Fixes #2380.
2015-03-16 22:09:17 -07:00
Mohamed Hegazy
1932f720cb Handel export name bindings in internal modules in ES6 2015-03-16 21:58:57 -07:00
Daniel Rosenwasser
686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -07:00
Mohamed Hegazy
cb012e01fd Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 20:47:08 -07:00
Vladimir Matveev
74eb96a5b9 correctly merge const enum only and instantiated modules 2015-03-16 19:51:22 -07:00
Vladimir Matveev
9b62c2c407 Merge branch 'master' into DtsExports_all 2015-03-16 19:10:01 -07:00
Vladimir Matveev
218736b23f initial version of declaration emit for default export 2015-03-16 18:54:13 -07:00
Jason Freeman
6fc552339f Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 17:43:31 -07:00
Yui
c4cb3e3483 Merge pull request #2333 from Microsoft/emitClass
Class emit for ES6
2015-03-16 17:40:03 -07:00
Vladimir Matveev
e9ea336771 Merge branch 'master' into DtsExports_all 2015-03-16 16:22:28 -07:00
Yui T
513b45d101 Merge branch 'master' into emitClass
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	src/compiler/parser.ts
2015-03-16 15:55:57 -07:00