Commit Graph
2794 Commits
Author SHA1 Message Date
Mohamed Hegazy 2cd2a4acc6 Merge pull request #3477 from tinganho/customTypeGuardFormating
Fixes type predicate formatting
2015-06-11 12:13:10 -07:00
Tingan Ho 3ed4309e45 Fixes type predicate formatting 2015-06-11 14:32:27 +08:00
Jason Freeman d03fca2326 Merge branch 'master' of https://github.com/Microsoft/TypeScript into parsingModuleElements 2015-06-10 16:54:37 -07:00
Jason Freeman 635a773186 Unite ParsingContext.ModuleElements and ParsingContext.BlockStatements 2015-06-10 16:41:48 -07:00
Jason Freeman 01f2cce8cf Add fourslash test for in scope completion 2015-06-10 10:58:57 -07:00
Jason Freeman 587088bc46 Update affected baselines 2015-06-10 10:34:44 -07:00
Jason Freeman 10fccc578e Improve error recovery after a dot 2015-06-09 18:09:14 -07:00
Jason Freeman e4df03adcb Add test cases 2015-06-09 16:59:17 -07:00
Jason Freeman 0f1ed04db4 Accept baselines 2015-06-09 16:59:09 -07:00
Daniel Rosenwasser caf0939d50 Removed more 'debugger' statements from tests. 2015-06-09 16:47:43 -07:00
Daniel Rosenwasser 245dbab772 Removed 'debugger' statements from tests. 2015-06-09 15:49:21 -07:00
Jason Freeman 75ed565f81 Don't consume 'is' keyword if there is a preceding line terminator 2015-06-09 11:12:00 -07:00
Anders Hejlsberg 8e096d50b9 Merge branch 'master' into emitterNameRewriting
Conflicts:
	src/compiler/types.ts
2015-06-09 06:56:45 -07:00
Anders Hejlsberg cd59573908 Merge branch 'master' into genericTypeAliases
Conflicts:
	src/compiler/checker.ts
2015-06-09 06:28:56 -07:00
Jason Freeman 6e69a9e380 Merge pull request #3262 from tinganho/customTypeGuard2
Custom type guard function
2015-06-08 20:26:32 -07:00
Vladimir Matveev 364cd1146b move temp declarations out of object literal 2015-06-08 18:31:56 -07:00
Tingan Ho efb701387e Merge commits from master 2015-06-09 07:43:05 +08:00
Tingan Ho ebe755b186 Addresses CR feedback 2015-06-09 07:32:03 +08:00
Daniel Rosenwasser 6b77c24753 Merge pull request #3365 from Microsoft/painInTheASI
Parse namespaces/types aliases/interfaces/ambient declarations only when they cannot be legal JS
2015-06-08 10:27:15 -07:00
Tingan Ho 51a43dd9d5 Addresses CR feedback 2015-06-08 13:34:49 +08:00
Tingan Ho b1a8a5fe66 Addresses CR feedback 2015-06-07 22:16:09 +08:00
Anders Hejlsberg 7c2a3c256d Modifying test a bit 2015-06-06 17:54:11 -07:00
Anders Hejlsberg 33517c4635 Adding test as suggested in CR feedback 2015-06-06 17:47:22 -07:00
Tingan Ho 487dff564f Fixes CR feedback 2015-06-06 13:59:19 +08:00
Anders Hejlsberg bcdbc98dac Adding simple tests 2015-06-05 14:50:15 -07:00
Anders Hejlsberg eb8a0e8d56 Accepting new baselines 2015-06-05 14:30:14 -07:00
Tingan Ho fa9a914648 Adds error for non-return positioned type predicates and changed parse type predicate logic 2015-06-05 16:36:02 +08:00
Vladimir Matveev 00e28ff8a3 added tests 2015-06-04 22:22:25 -07:00
Vladimir Matveev 6269598c52 Merge branch 'master' into named_modules 2015-06-04 21:38:25 -07:00
Daniel Rosenwasser 18bd849ac7 Accepted baselines. 2015-06-04 17:45:04 -07:00
Daniel Rosenwasser aef9edf014 Added test regarding 'declare' keyword as beginning of statement expression. 2015-06-04 17:43:28 -07:00
Daniel Rosenwasser 534105cfe5 Accepted new baselines. 2015-06-04 15:09:09 -07:00
Daniel Rosenwasser 8af07ee0c0 Accepted baselines. 2015-06-04 14:20:29 -07:00
Daniel Rosenwasser 8c422af4bc Added tests for interfaces and tagged templates. 2015-06-04 14:20:14 -07:00
Cyrus Najmabadi 2de07f3563 Merge branch 'master' into lightMode
Conflicts:
	src/compiler/program.ts
2015-06-04 12:47:12 -07:00
Vladimir Matveev d51d616813 merge with master 2015-06-04 10:57:34 -07:00
Vladimir Matveev b76cc37560 added missing semicolon after calling exporter function 2015-06-04 10:52:43 -07:00
Anders Hejlsberg fc1bafdc57 Accepting new baselines 2015-06-04 09:44:54 -07:00
Tingan Ho 19e725636e Adds PR feedback and removed references to typeguard (class) methods 2015-06-04 19:31:16 +08:00
Cyrus Najmabadi 2bf19e80c3 Speed up tests by not type-checking lib.d.ts unless the test asks for that. 2015-06-04 01:03:02 -07:00
Jason Freeman abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Jason Freeman 26cf97430e Accept baselines for parenthesized type assertions 2015-06-03 17:22:51 -07:00
Jason Freeman 7a74d9f8d0 Add tests for parenthesized type assertions 2015-06-03 17:22:38 -07:00
Cyrus Najmabadi f526a1b0ff Merge branch 'master' into taggedAny 2015-06-03 16:47:07 -07:00
Cyrus Najmabadi b5077bf372 Remove HarnessDiagnostics. Just use the normal ts Diagnostic instead. 2015-06-03 16:28:14 -07:00
Cyrus Najmabadi 7ca13ee945 Check for 'any' only by using the flag, not by checking for instance equality. 2015-06-03 15:06:58 -07:00
Vladimir Matveev 7e3a3f45e1 emit module name for system modules, add moduleName argument to 'transpile' function 2015-06-03 14:55:42 -07:00
Anders Hejlsberg 87d43aa6f5 Merge branch 'master' into circularInstantiatedTypes
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
2015-06-03 14:13:16 -07:00
Jason Freeman 34a5514fef Rename new test 2015-06-03 13:36:52 -07:00
Jason Freeman 9394c5ca04 Add test for object literal methods 2015-06-03 13:36:51 -07:00