Commit Graph

7976 Commits

Author SHA1 Message Date
SaschaNaz
cf67f79022 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into formatWhitespaces 2015-11-13 18:51:21 +09:00
Wesley Wigham
521a0a160c Fix class exports with varrying module emits while targeting es6 2015-11-12 19:03:52 -08:00
Wesley Wigham
e79253a07c fix handling of decorated default exports on es6 with nones6 modules 2015-11-12 18:27:47 -08:00
Wesley Wigham
ecd4435986 Go all the way back to the original solution 2015-11-12 16:22:35 -08:00
Sheetal Nandi
3d6312a1da Merge pull request #5643 from Microsoft/lambdaSourceMap
Fix sourcemap emit for the labda expression that is on another line
2015-11-12 16:09:45 -08:00
Wesley Wigham
52fbf9e12b Merge branch 'master' into compute-common-source-dir 2015-11-12 15:59:11 -08:00
Wesley Wigham
5bcf861121 use relative path from current directory 2015-11-12 15:58:11 -08:00
Ryan Cavanaugh
e3a845aa64 Merge pull request #5641 from RyanCavanaugh/fix5634
Quote only names that need to be quoted, not the reverse
2015-11-12 15:05:33 -08:00
Sheetal Nandi
3bdad8a6b0 When excluding same base name file from compilation, check for all supported javascript extensions instead of just .js 2015-11-12 14:25:46 -08:00
Sheetal Nandi
127a30e151 Fix the sourcemap emit of lambda expression without return on another line
Handles #5122
2015-11-12 14:15:33 -08:00
Ryan Cavanaugh
f90ef92e7c Simplify regex a bit 2015-11-12 13:37:03 -08:00
Sheetal Nandi
0b215404d1 Simplified logic of getting files if files werent suppplied in tscconfig.json
Since we dont support arbitary list of extensions to treat as .js,
it becomes easier to simplify code based on the assumptions
2015-11-12 13:23:53 -08:00
Vladimir Matveev
4dbae54af5 Merge pull request #5639 from Microsoft/typecheckStatementsInCaseClause
always check statements in case clause
2015-11-12 13:11:57 -08:00
Sheetal Nandi
1ed67f41ba Removed the TODO as created bug for it 2015-11-12 11:50:58 -08:00
Sheetal Nandi
b3c4733a90 Merge pull request #5620 from Microsoft/inlineSourceMap
Fixes use of combination of options sourceRoot and mapRoot with inlineSourceMap and inlineSources
2015-11-12 11:39:04 -08:00
zhengbli
a0549fa316 Fix lint compliant 2015-11-12 11:33:44 -08:00
zhengbli
278b35b354 Adding test and comments. Override file content even if already opened. 2015-11-12 11:16:11 -08:00
Ryan Cavanaugh
ea29793acd Quote only names that need to be quoted, not the reverse 2015-11-12 11:02:19 -08:00
Vladimir Matveev
ebd1b873f1 always check statements in case clause 2015-11-12 10:17:47 -08:00
Vladimir Matveev
4720c3592d added missing check if file is specified 2015-11-11 16:51:29 -08:00
Sheetal Nandi
d2445b6286 PR feedback 2015-11-11 16:10:23 -08:00
Wesley Wigham
dc466b214e Merge branch 'master' into compute-common-source-dir 2015-11-11 15:58:41 -08:00
Wesley Wigham
472afc4e16 add condition to bail at containing level 2015-11-11 15:48:41 -08:00
Wesley Wigham
6c29ddf162 loosen walk up containers, add extra test 2015-11-11 15:30:09 -08:00
Wesley Wigham
ea7b03d568 Merge branch 'master' into undefined-unique 2015-11-11 14:45:32 -08:00
Sheetal Nandi
1659300ddb Fix the --sourceRoot and --mapRoot option handling 2015-11-11 12:59:03 -08:00
Wesley Wigham
b3f0a71082 Merge pull request #5442 from weswigham/empty-set
Improve type guard consistiency
2015-11-11 12:52:37 -08:00
Daniel Rosenwasser
beb998b988 Merge pull request #5615 from Microsoft/getContextualTypeServices
Do not get the apparent type for 'getContextualType' in the services layer
2015-11-11 12:42:44 -08:00
Daniel Rosenwasser
527f4658ad Use string literal types in the command line parser. 2015-11-11 12:25:03 -08:00
Mohamed Hegazy
0c96d7b241 Merge pull request #5583 from basarat/ls/jsxSemantic
tsx : support tags in language service semantic tokenizer
2015-11-11 12:10:03 -08:00
Mohamed Hegazy
00aa3c8a38 Merge pull request #5569 from mihailik/patch-2
Use ts.indexOf instead of Array.prototype.indexOf
2015-11-11 11:46:46 -08:00
Nathan Shively-Sanders
c1ea85fa72 Merge pull request #5588 from Microsoft/reexport-default-export
Reexport default export
2015-11-11 11:29:31 -08:00
Wesley Wigham
c3af8bb6cc Merge branch 'master' into compute-common-source-dir 2015-11-11 10:57:36 -08:00
Wesley Wigham
5ea25ba9a0 remove whitespace 2015-11-11 10:57:32 -08:00
Daniel Rosenwasser
87230bcc1b Use 'getContextualType' for 'getContextualType'. 2015-11-11 10:55:33 -08:00
Nathan Shively-Sanders
9472c0be99 Remove now-unused function
`doesNameResolveToLocalSymbolForExportDefault` is no longer used, so
delete it.
2015-11-11 10:53:24 -08:00
zhengbli
b9778e6d20 cr feedback 2015-11-11 10:31:09 -08:00
Daniel Rosenwasser
9c1796f714 Merge pull request #5607 from Microsoft/fixTypeApparentization
Only get the apparent type of a contextual type when needed
2015-11-11 10:27:08 -08:00
Nathan Shively-Sanders
e62603ba85 Move export default check before module merge one
As suggested by Anders.
2015-11-11 08:51:37 -08:00
Daniel Rosenwasser
b93394a7ac Added to comment. 2015-11-10 23:15:48 -08:00
Daniel Rosenwasser
9d3d49d636 Only get the apparent type when necessary. 2015-11-10 22:30:35 -08:00
Yui T
fe3fb17854 Use printVersion instead 2015-11-10 17:36:37 -08:00
Ryan Cavanaugh
9006b44ddf CR feedback 2015-11-10 17:17:30 -08:00
Wesley Wigham
cb15200378 fix lints 2015-11-10 16:58:10 -08:00
Wesley Wigham
c5b0450219 Merge branch 'master' into duplicate-export-behavior 2015-11-10 16:56:43 -08:00
Wesley Wigham
ebd7d2d93e extract method 2015-11-10 16:48:08 -08:00
Ryan Cavanaugh
1a0299d371 Missed some baseline files; address CR feedback 2015-11-10 16:26:36 -08:00
Ron Buckton
5ac4b782e0 Merge branch 'master' into typesCleanup 2015-11-10 14:31:02 -08:00
Wesley Wigham
75364b6988 Merge pull request #5589 from weswigham/tsconfig-error-handling
Add handling for json parse errors in tsconfig
2015-11-10 14:01:38 -08:00
zhengbli
f92d241888 Add file content as a parameter for the tsserver open command 2015-11-10 13:36:19 -08:00