Commit Graph

26317 Commits

Author SHA1 Message Date
Vladimir Matveev e49e55287a do not crash when variable and function declarations collide 2015-11-14 12:08:47 -08:00
Daniel Rosenwasser 76d624dec9 Merge branch 'master' into dogfoodStringLiterals 2015-11-14 00:42:34 -08:00
Wesley Wigham 39ebe81b89 Merge branch 'master' into compute-common-source-dir 2015-11-13 17:56:04 -08:00
Wesley Wigham e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham bfdb2d0fc9 and somehow all that caused was a lint error 2015-11-13 16:57:17 -08:00
Wesley Wigham ff95731507 :S 2015-11-13 16:49:16 -08:00
Wesley Wigham c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Wesley Wigham 78e7804668 handle things more rightly 2015-11-13 15:46:48 -08:00
Vladimir Matveev d2d2213584 Merge pull request #5655 from Microsoft/harnessCleanup
cleanup test harness code
2015-11-13 15:30:01 -08:00
Wesley Wigham d1d1eb1f68 Merge branch 'master' into use-common-directory-for-out 2015-11-13 15:27:08 -08:00
Wesley Wigham cb1724bd44 in declaration emit, handle = require (again) 2015-11-13 15:26:38 -08:00
Vladimir Matveev 50aab7a05f fix typo 2015-11-13 15:10:16 -08:00
Vladimir Matveev 531e0969da Merge pull request #5662 from Microsoft/overloadsAndMergedDeclarations
do not crash if overloads cannot be merged under one symbol
2015-11-13 14:55:18 -08:00
Wesley Wigham b144b5b52c Merge pull request #5660 from weswigham/undefined-type-guards
Ignore typeof x === "undefined" type guards when narrowing
2015-11-13 14:45:47 -08:00
Wesley Wigham 7e69f014f3 Always compute a common source directory for a program 2015-11-13 14:41:09 -08:00
Sheetal Nandi 0482afdc1e Load only typescript files if resolving from node modules 2015-11-13 14:28:40 -08:00
Vladimir Matveev 07626cbe89 do not crash if overloads cannot be merged under one symbol 2015-11-13 14:26:48 -08:00
Wesley Wigham 732fff225b use common source directory for module paths 2015-11-13 14:12:11 -08:00
Wesley Wigham 16d80ebe71 ignore undefined type guards 2015-11-13 14:08:26 -08:00
Sheetal Nandi fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Zhengbo Li bd39847d6c Merge pull request #5593 from zhengbli/i5530
Add file content as a parameter for the tsserver open command
2015-11-13 11:30:11 -08:00
Vladimir Matveev b93feb87be cleanup test harness code 2015-11-13 11:14:51 -08:00
Wesley Wigham 346253a0d5 test, first pass at a fix 2015-11-13 11:13:10 -08:00
Nathan Shively-Sanders 7743d20910 Merge pull request #5193 from Microsoft/namespace-before-ambient-derived-class-finds-heritage
Namespace before ambient derived class finds heritage
2015-11-13 08:50:10 -08:00
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