Commit graph

6215 commits

Author SHA1 Message Date
Tingan Ho
3ed4309e45 Fixes type predicate formatting 2015-06-11 14:32:27 +08: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
08cf559012 Merge pull request #3433 from Microsoft/systemJsTempVars
move temp declarations out of object literal
2015-06-08 19:50:57 -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
8a0077f8f6 Merge pull request #3424 from Microsoft/documentFilenameFlag
Added 'fileName' metadata tag to 'CONTRIBUTING.md'.
2015-06-08 12:08:38 -07:00
Daniel Rosenwasser
41ca19c79b Fix heading level. 2015-06-08 12:00:34 -07:00
Daniel Rosenwasser
84e78e93da filename -> fileName 2015-06-08 11:58:59 -07:00
Daniel Rosenwasser
f8b6dedfb6 Added 'filename' metadata tag to 'CONTRIBUTING.md'. 2015-06-08 11:32:26 -07: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
Tingan Ho
487dff564f Fixes CR feedback 2015-06-06 13:59:19 +08:00
Vladimir Matveev
c83cf58218 Merge pull request #3395 from Microsoft/getCanonicalFileNameInArrow
wrap host.getCanonicalFileName in arrow function
2015-06-05 12:16:47 -07:00
Daniel Rosenwasser
edcfed4c46 Merge pull request #3396 from Microsoft/usersDontNeedToTurn-core.autocrlf-OffAnymore
Remove 'core.autocrlf false' comment from the README
2015-06-05 12:14:10 -07:00
Daniel Rosenwasser
bbac9f4447 Users don't need to turn core.autocrlf off anymore. 2015-06-05 12:04:15 -07:00
Vladimir Matveev
6658e0fc58 wrap host.getCanonicalFileName in arrow function 2015-06-05 12:00:53 -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
Tingan Ho
a73bf31c86 Fixes CR feedback 2015-06-05 13:47:40 +08:00
Vladimir Matveev
45cf145fe8 Merge pull request #3370 from Microsoft/named_modules
emit module name for system modules, add moduleName argument to 'tran…
2015-06-04 22:35:07 -07: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
3d9293e0de Moved lookahead logic into 'getDeclarationFlags'. 2015-06-04 18:08:11 -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
10861b1648 Amended comment. 2015-06-04 16:29:12 -07:00
Daniel Rosenwasser
534105cfe5 Accepted new baselines. 2015-06-04 15:09:09 -07:00
Daniel Rosenwasser
047d3aef19 Account for interfaces. 2015-06-04 15:08:56 -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
Mohamed Hegazy
223d26f535 Expose skipDefaultLibCheck as a commandline option 2015-06-04 13:56:33 -07:00
CyrusNajmabadi
482e333b12 Merge pull request #3384 from Microsoft/lightMode
Speed up tests by not type-checking lib.d.ts unless the test asks for that.
2015-06-04 13:29:05 -07:00
Cyrus Najmabadi
fcf6129c7b PR feedback. 2015-06-04 12:59:51 -07:00
Mohamed Hegazy
8cfac0f9ac Merge branch 'release-1.5' 2015-06-04 12:49:02 -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
9d80c40055 Merge pull request #3385 from Microsoft/port_3382
Port PR 3382 into release 1.5
2015-06-04 12:45:33 -07:00
Vladimir Matveev
ed7b07dce1 Merge pull request #3383 from Microsoft/delete2remove
rename 'FileMap.delete' to 'FileMap.remove'
2015-06-04 12:31:57 -07:00
Vladimir Matveev
e34d28f530 added missing semicolon after calling exporter function 2015-06-04 12:30:19 -07:00
Cyrus Najmabadi
a9e2089818 PR feedback. 2015-06-04 12:24:07 -07:00
Vladimir Matveev
1a6f0521e7 Merge pull request #3382 from Microsoft/missing_semicolon
added missing semicolon after calling exporter function
2015-06-04 11:55:47 -07:00
Vladimir Matveev
495d726625 rename 'FileMap.delete' to 'FileMap.remove' 2015-06-04 11:18:05 -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
Tingan Ho
48acb489ca Add back void annotation 2015-06-04 22:51:31 +08:00
Tingan Ho
250bd0db4f Change name from data to info 2015-06-04 22:47:59 +08:00
Tingan Ho
76bc9be701 Refactor to-string functions 2015-06-04 22:20:46 +08:00
Tingan Ho
f8dc6bb310 Changed name from method to buildDisplay 2015-06-04 20:16:48 +08:00
Tingan Ho
e1f82c599b Removes old type predicate functions 2015-06-04 20:04:17 +08:00
Tingan Ho
19e725636e Adds PR feedback and removed references to typeguard (class) methods 2015-06-04 19:31:16 +08:00