Commit Graph

2651 Commits

Author SHA1 Message Date
Wesley Wigham
5ecc271c27 Merge branch 'master' into use-common-directory-for-out 2015-11-19 12:42:02 -08:00
Wesley Wigham
b1c8245b78 Merge pull request #5626 from weswigham/type-guard-narrowing
Make type guards continue to narrow within classes/nested function declarations
2015-11-19 11:42:14 -08:00
Wesley Wigham
294f846d26 Add a test which uses common src dir in a different way 2015-11-18 13:56:38 -08:00
Wesley Wigham
c7a3bee916 Merge branch 'master' into use-common-directory-for-out 2015-11-18 13:10:23 -08:00
Vladimir Matveev
5e84ed399c Merge pull request #5706 from Microsoft/nameResolutionForParameters
restrict the scope of parameters\type parameters
2015-11-17 17:09:53 -08:00
Vladimir Matveev
31039a3fff disallow references to function locals from return type annotations 2015-11-17 15:22:26 -08:00
Wesley Wigham
9531d929c7 update test with pr feedback 2015-11-17 14:34:02 -08:00
Wesley Wigham
321bb9aafa Merge branch 'master' into type-guard-narrowing 2015-11-17 13:50:56 -08:00
Vladimir Matveev
e0a8af00a7 do not resolve parameters/type parameters if it is requested from restricted locations 2015-11-17 13:27:52 -08:00
Wesley Wigham
3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Vladimir Matveev
e49e55287a do not crash when variable and function declarations collide 2015-11-14 12:08:47 -08:00
Wesley Wigham
c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Wesley Wigham
13faf2ccf4 get projects dts back 2015-11-13 15:47:19 -08:00
Wesley Wigham
d1d1eb1f68 Merge branch 'master' into use-common-directory-for-out 2015-11-13 15:27:08 -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
5b29a7e9d9 accept corrected projects baselines 2015-11-13 14:41:49 -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
d7ddcc4756 accept baselines for new test 2015-11-13 14:09:13 -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
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
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
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
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
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
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
Wesley Wigham
dc466b214e Merge branch 'master' into compute-common-source-dir 2015-11-11 15:58:41 -08:00
Wesley Wigham
6c29ddf162 loosen walk up containers, add extra test 2015-11-11 15:30:09 -08:00
Sheetal Nandi
1659300ddb Fix the --sourceRoot and --mapRoot option handling 2015-11-11 12:59:03 -08:00
Sheetal Nandi
8020bf90d6 Test cases to verify --inlineSourceMap with --sourcemap --mapRoot and --sourceRoot
Note that --sourceRoot fails with crash
2015-11-11 12:58:58 -08:00
Sheetal Nandi
593ba66af1 Test cases for --sourceMap --inlineSources option 2015-11-11 12:58:54 -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
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
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
Daniel Rosenwasser
ce455dac2b Accepted baselines. 2015-11-10 22:43:07 -08:00
Nathan Shively-Sanders
c289106c4d Merge pull request #5575 from Microsoft/apply-captured-outer-type-parameters
Apply captured outer type parameters
2015-11-10 13:15:00 -08:00
Vladimir Matveev
072e93898d Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Wesley Wigham
97d170b388 Support to tests for absolute paths, add common src dir edgecase tests 2015-11-10 13:10:44 -08:00
Daniel Rosenwasser
f80a6c6e86 Accepted baselines. 2015-11-10 13:03:11 -08:00
Nathan Shively-Sanders
e30a01db0f Add test case and accept baseline 2015-11-10 11:44:56 -08:00
Daniel Rosenwasser
9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -08:00
Daniel Rosenwasser
92d37c3029 Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -08:00
Vladimir Matveev
5d9e7e10c0 Merge pull request #5576 from Microsoft/importsInShorthandProps
use modulekind to check if initializer for shorthand property assignm…
2015-11-09 14:57:47 -08:00
Daniel Rosenwasser
fb192e2464 Accepted baselines. 2015-11-09 14:41:44 -08:00
Vladimir Matveev
fe770bdd75 addressed PR feedback 2015-11-09 13:56:18 -08:00
Vladimir Matveev
6f08e89455 use modulekind to check if initializer for shorthand property assignment should be emitted 2015-11-09 13:34:30 -08:00
Wesley Wigham
14d65098c9 Merge pull request #5385 from weswigham/5378-equality-fix
Stop considering symbol names when checking type parameter identity
2015-11-09 13:32:43 -08:00