Commit Graph
4491 Commits
Author SHA1 Message Date
Daniel Rosenwasser f2a7367e9b Added index signature case. 2015-03-17 07:50:15 -07:00
Daniel Rosenwasser 0aa3a72d5b Merge branch 'completeIsCompleteNode' into completionsInIncompleteConstructs
Conflicts:
	src/services/formatting/smartIndenter.ts
2015-03-17 07:45:01 -07:00
Daniel Rosenwasser 857d1e0bb6 Fixed case for index signatures. 2015-03-17 07:42:24 -07:00
Daniel Rosenwasser c89febeb23 Added completion check for prefix-unary, binary, and conditional expressions. 2015-03-17 00:46:21 -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 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
Daniel Rosenwasser 686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -07:00
Vladimir Matveev d2ecfa7526 Merge pull request #2303 from Microsoft/smartIndentInIncompleteForLikeStatements
added for* statements to isCompletedNode
2015-03-11 15:58:04 -07:00
Vladimir Matveev 4b955ee91a added for* statements to isCompletedNode 2015-03-11 14:03:32 -07:00
Vladimir Matveev 76dcfb660b Merge pull request #2291 from Microsoft/letConstInSwitchStatements
introduce CaseBlock as a block-scoped container for switch statements
2015-03-10 18:33:54 -07:00
Vladimir Matveev 59c71acae8 introduce emitCaseBlock function 2015-03-10 18:17:52 -07:00
Vladimir Matveev efcf0e6f57 introduce CaseBlock as a block-scoped container for switch statements 2015-03-10 17:50:54 -07:00
Daniel Rosenwasser aa08300cbf Merge pull request #2238 from caitp/issue-2090
Improve array destructuring error message
2015-03-10 16:13:19 -07:00
Caitlin Potter 0d06729b18 Move comment and refer to tuple type literal syntax rather than TupleType interface 2015-03-10 15:58:39 -04:00
Mohamed Hegazy 11bb5f9851 Merge pull request #2275 from DickvdBrink/object-generics
made seal, freeze and preventExtensions generic
2015-03-10 12:24:16 -07:00
Jason Freeman 07a893dee0 Merge pull request #2207 from Microsoft/for-ofES5
Emit 'for...of' statements in ES3/ES5
2015-03-10 12:13:16 -07:00
Mohamed Hegazy 3e4955bc0f Merge pull request #2270 from mihailik/patch-1
Fix for #2268 createDiagnosticCollection should be @internal
2015-03-10 11:57:08 -07:00
Jason Freeman f389aefc47 Fix call to emitNode after merge with master 2015-03-10 10:41:26 -07:00
Caitlin Potter 7acb410251 Add note about use of isTupleType() 2015-03-10 13:37:25 -04:00
Caitlin Potter bd2c239161 Add tests for tuple type compatibility
Tests suggested by @DanielRosenwasser
2015-03-10 13:33:59 -04:00
Caitlin Potter c222b2bb3e Improve message for array destructuring error
Closes #2090
2015-03-10 13:33:58 -04:00
Jason Freeman 1349a196a0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into for-ofES5 2015-03-09 19:45:37 -07:00
Jason Freeman b15d8aa2b5 Address PR feedback 2015-03-09 19:45:14 -07:00
CyrusNajmabadi f747e5a1f9 Merge pull request #2276 from Microsoft/commentEmit
Provide specialized codepath for emitting when comments aren't necessary.
2015-03-09 16:31:38 -07:00
Cyrus Najmabadi c21fe03d18 Merge branch 'master' into commentEmit
Conflicts:
	src/compiler/emitter.ts
2015-03-09 15:58:32 -07:00
CyrusNajmabadi f061e00d45 Merge pull request #2267 from Microsoft/indentSimplification
Simplify indentation code in the emitter.
2015-03-09 15:54:27 -07:00
Cyrus Najmabadi aa96475f73 CR feedback. 2015-03-09 15:50:40 -07:00
Cyrus Najmabadi 1a4299ef44 Merge branch 'master' into indentSimplification 2015-03-09 15:48:53 -07:00
Dick van den Brink 7001562110 made seal, freeze and preventExtensions generic 2015-03-09 23:48:51 +01:00
Cyrus Najmabadi 31cf443a28 Add specialized codepath for emitting without comments. 2015-03-09 15:47:23 -07:00
Yui eb92b5311d Merge pull request #2273 from Microsoft/fixRWCRunner
Fix rwc runner
2015-03-09 15:26:41 -07:00
Yui T 725577e328 Remove deubgger statement 2015-03-09 15:14:08 -07:00
Yui T 4c7891ce09 Fix file path resolution in RWC 2015-03-09 15:10:47 -07:00
Cyrus Najmabadi bfbc18d6d7 rename emitNode to emitNodeWithoutSourceMap 2015-03-09 15:01:02 -07:00
Cyrus Najmabadi 103bb34d7b Merge branch 'master' into indentSimplification
Conflicts:
	src/compiler/emitter.ts
2015-03-09 13:04:24 -07:00
Steve Lucco 5556683227 Merge pull request #2258 from Microsoft/formatLine
TS Server format line fixes
2015-03-09 12:52:14 -07:00