Commit Graph

35940 Commits

Author SHA1 Message Date
Daniel Rosenwasser f1d5582a69 Fixed missing marker. 2015-03-17 00:39:46 -07:00
Daniel Rosenwasser c27e07a69b Moved logic from smart indenter; use 'scope nodes' for completions. 2015-03-17 00:34:05 -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 26647d4ecf Fixed harness. 2015-03-17 00:16:44 -07:00
Daniel Rosenwasser b4811fc8be Fix copy/paste error. 2015-03-16 23:22:15 -07:00
Daniel Rosenwasser 577c12e42e Added accumulated tests. 2015-03-16 23:19:21 -07:00
Daniel Rosenwasser 6a6839a1b3 Always indent on tuple type literals. 2015-03-16 23:10:36 -07:00
Daniel Rosenwasser 686a10085c Moved construct signature down appropriately, fixed logic for function-like constructs. 2015-03-16 23:05:03 -07:00
Daniel Rosenwasser 905e46e20f Account for call signatures properly. 2015-03-16 22:40:58 -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 3d802438f1 Export classes defined wihtin internal modules correctelly 2015-03-16 21:18:31 -07:00
Mohamed Hegazy 99108694d5 Do not emit "export" for classes within modules, and do not write the name of an export default class 2015-03-16 20:54:28 -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
Mohamed Hegazy eb954e1cb5 Respond to code review comments 2015-03-16 19:25:02 -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
Paul van Brenk 325c8b655f Add a check to make sure we have results. 2015-03-16 17:29:56 -07:00
Paul van Brenk 4d3e842e9f Add assert to make sure getOccurences at position only returns results for the file we request the occurences for. 2015-03-16 16:47:50 -07:00
Yui T 9b3fccd5c4 Address code review; Use for..of and use if-statement 2015-03-16 16:24:40 -07:00
Vladimir Matveev e9ea336771 Merge branch 'master' into DtsExports_all 2015-03-16 16:22:28 -07:00
Mohamed Hegazy 2240fbf390 Merge pull request #2339 from Microsoft/exportDefaultType
Support an optional type annotation on export default statement
2015-03-16 16:04:07 -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
Yui T c51983df3c Address code review 2015-03-16 15:48:03 -07:00
Yui T 91c5bae6e5 Address code review 2015-03-16 15:41:51 -07:00
Yui T 88933d54cc Address code review 2015-03-16 15:20:40 -07:00
steveluc 2c60cf96dd Add use of host-configured format options to additional code site. 2015-03-16 15:10:58 -07:00
Jason Freeman 28c4b02577 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 14:52:17 -07:00
Jason Freeman 90fae03f1f More PR feedback 2015-03-16 14:52:03 -07:00
Mohamed Hegazy 5845d2d214 Merge branch 'master' into es6ImportExportEmit 2015-03-16 14:49:41 -07:00
steveluc 51c64b385c Added configuration message. Added logic to expand tabs to spaces using
host-configured tab size.
2015-03-16 14:47:46 -07:00
Yui T e573461745 Address code review. Use-before-def check will be added to separate work item 2015-03-16 14:43:53 -07:00
Mohamed Hegazy 696b688987 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 14:42:47 -07:00
Yui T 2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Vladimir Matveev 85cf7614dc Merge pull request #2374 from Microsoft/renamingCleanup
use 'allowGeneratedIdentifiers' to explicitly tell when identifier can b...
2015-03-16 13:52:13 -07:00
Vladimir Matveev 7f8ef3881b addressed PR feedback 2015-03-16 13:36:34 -07:00
Vladimir Matveev f5a4b0b31a use 'allowGeneratedIdentifiers' to explicitly tell when identifier can be renamed 2015-03-16 12:37:21 -07:00
Mohamed Hegazy 090148fdee Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 12:11:43 -07:00
Jason Freeman bd811cea2a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 11:04:40 -07:00
Jason Freeman 9933f6cd00 Address PR feedback 2015-03-16 11:04:11 -07:00
Yui T 0eeb7ce7b8 Update baselines 2015-03-15 21:40:15 -07:00
Yui T 3bb4b50b4f Update baselines for symbol 2015-03-15 21:35:06 -07:00