Commit graph

9243 commits

Author SHA1 Message Date
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 5b29a7e9d9 accept corrected projects baselines 2015-11-13 14:41:49 -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 d7ddcc4756 accept baselines for new test 2015-11-13 14:09:13 -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
Wesley Wigham 581f52a7ea exhaustive tests 2015-11-13 13:33:54 -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
Wesley Wigham 36607b99b5 accept baselines for new tests 2015-11-12 19:05:28 -08: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 b5ac1eb0ae add decorator flag to tests 2015-11-12 18:24:04 -08:00
Wesley Wigham 57162e9b59 handful more tests 2015-11-12 18:11:07 -08:00
Wesley Wigham b31ac2e946 Add a handful of tests 2015-11-12 16:56:20 -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
Sheetal Nandi 986d884502 Test case for multiline spanning without return statement 2015-11-12 14:13:35 -08:00
Wesley Wigham b24f8f35b7 go go go 2015-11-12 14:09:51 -08:00
Mohamed Hegazy 63ff012398 Merge pull request #5636 from bootstraponline/patch-1
Use https for badges
2015-11-12 13:55:28 -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
Ryan Cavanaugh 0621eecc9f Missed some errors 2015-11-12 13:17:52 -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
Ryan Cavanaugh e5d6bc1561 Update react.d.ts from DefinitelyTyped 2015-11-12 12:51:16 -08:00
Sheetal Nandi 1ed67f41ba Removed the TODO as created bug for it 2015-11-12 11:50:58 -08:00
zhengbli fe9d73eb5b Remove debugger statement from test 2015-11-12 11:42:21 -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
bootstraponline 3d9978f677 Use https for badges 2015-11-12 14:15:59 -05: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
Mohamed Hegazy f256da9436 Merge pull request #5633 from mihailik/patch-4
Encoding bug
2015-11-12 09:19:30 -08:00
mihailik f4929e7b18 Encoding bug 2015-11-12 12:28:37 +00:00
Mohamed Hegazy 40e0ffaff7 Update authors for release 1.7 2015-11-11 23:22:12 -08:00
Vladimir Matveev ef02bf0915 Merge pull request #5628 from Microsoft/checkOnMissingFile
added missing check if file is specified
2015-11-11 17:13:24 -08:00