5776 Commits

Author SHA1 Message Date
Sheetal Nandi
b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -07:00
Andy
75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Anders Hejlsberg
9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Anders Hejlsberg
b3c5c1db23 Merge pull request #9013 from Microsoft/typeGuardNestedAssignment
Allow nested assignments in type guards
2016-06-08 16:26:07 -07:00
Anders Hejlsberg
aeb1d97ced Merge pull request #8949 from Microsoft/strictNullLogicalAnd
Improve typing of && operator with --strictNullChecks
2016-06-08 16:24:51 -07:00
Mohamed Hegazy
6b8109a501 Merge pull request #8850 from Microsoft/reorderOptions
Reorder options alphabetically
2016-06-08 13:35:00 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Yui
899f667544 Recognize relative path using in outDir property (#9025)
* Recognize relative path using in outDir property

* Add projects tests

* Add project .json files

* Update baselines
2016-06-08 13:20:47 -07:00
Nathan Shively-Sanders
179d42323a Merge pull request #9010 from Microsoft/merge-jsdoc-of-assignment-and-function-expression
Merge JSDoc of assignments from function expressions
2016-06-08 13:03:03 -07:00
Mohamed Hegazy
7eb5f4b179 Remove comments 2016-06-08 12:49:50 -07:00
Mohamed Hegazy
97270ceb03 Merge branch 'master' into reorderOptions 2016-06-08 12:40:26 -07:00
Anders Hejlsberg
83971d0900 Create intersection types in type guards for unrelated types 2016-06-08 10:51:32 -07:00
Zhengbo Li
cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Anders Hejlsberg
6a243e3d1d Allow nested assignments in type guards 2016-06-07 17:37:03 -07:00
Vladimir Matveev
8b7fb8e7e8 Merge pull request #8739 from evansb/fix-8738
Fix #8738: Handles Re-assignment of Exported Clause Member
2016-06-07 16:23:02 -07:00
Nathan Shively-Sanders
17cc206271 Merge JSDoc of assignments from function expressions 2016-06-07 16:22:18 -07:00
Zhengbo Li
37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Vladimir Matveev
d941177547 check if moduleResolution when verifying that program can be reused 2016-06-07 15:08:46 -07:00
Nathan Shively-Sanders
5fef0804c8 Merge pull request #9003 from Microsoft/caseUndefinedAndNull
Allow case comparison to undefined and null in strict null checking mode
2016-06-07 09:25:03 -07:00
Nathan Shively-Sanders
843aa6c1ef Allow case comparison to undefined and null in strict null checking mode 2016-06-07 07:51:34 -07:00
Andy
849ab7c5ec Merge pull request #8942 from Microsoft/param_trailing_commas
Allow trailing commas in function parameter and argument lists
2016-06-07 07:35:30 -07:00
zhengbli
3052913b92 add tests for tsserver project system 2016-06-07 02:14:56 -07:00
Anders Hejlsberg
52d8a78419 Merge pull request #8970 from Microsoft/propertyControlFlow
Fix control flow analysis for property initializers
2016-06-06 17:00:21 -07:00
Wesley Wigham
26b1ab499c
Use inclusive flag, as originally done, but include almost everything 2016-06-06 13:05:29 -07:00
Wesley Wigham
9761c3be97
Revert "Revert "Merge pull request #7235 from weswigham/narrow-all-types""
This reverts commit fc3e040c5167868ed623612e8f33fb3beedf73b1.
2016-06-06 12:52:34 -07:00
Andy Hanson
d9ec5125be Support using string values in enums for CompilerOptions in transpile methods 2016-06-06 11:31:22 -07:00
Andy Hanson
543b484ec5 Remove trailing whitespace 2016-06-06 08:17:14 -07:00
Andy Hanson
2fc2f5c4b9 Fix signature help 2016-06-06 07:50:32 -07:00
Anders Hejlsberg
bb7818b837 Consider property declarations to be control flow containers 2016-06-04 14:42:45 -07:00
Anders Hejlsberg
39c4e8ad1f Remove unnecessary restrictions in property access narrowing 2016-06-03 17:30:49 -07:00
Anders Hejlsberg
bcc9220451 Improve typing of && operator with --strictNullChecks 2016-06-02 17:37:14 -07:00
Anders Hejlsberg
3853555b49 Merge pull request #8944 from Microsoft/reviseWidening
No widening in strict null checking mode
2016-06-02 15:18:33 -07:00
Zhengbo Li
131f759c5c Merge pull request #8930 from zhengbli/i8676
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-02 14:15:14 -07:00
zhengbli
e2a1a78dd3 reuse the fixupParentReferences function 2016-06-02 13:26:15 -07:00
Nathan Shively-Sanders
fc3e040c51 Revert "Merge pull request #7235 from weswigham/narrow-all-types"
This reverts commit ef0f6c8fe4f94a7e294cfe42d7025c9dca6535d5, reversing
changes made to 9f087cb62ade7a879e23c229df752fc8f87d679c.
2016-06-02 12:57:24 -07:00
zhengbli
d41ac8aa9a Add null check and CR feedback 2016-06-02 11:12:38 -07:00
Anders Hejlsberg
fb2df77a59 Remove unused variable 2016-06-02 10:47:47 -07:00
Nathan Shively-Sanders
ef0f6c8fe4 Merge pull request #7235 from weswigham/narrow-all-types
Fix #7224, #7441 - Replace TypeFlags.Narrowable
2016-06-02 10:01:32 -07:00
Andy Hanson
4281bf5752 Allow trailing commas in function parameter and argument lists 2016-06-02 08:18:21 -07:00
Anders Hejlsberg
5f3f2d302f Create separate control flows for property declarations with initializers 2016-06-02 06:47:37 -07:00
Anders Hejlsberg
2517238269 Add non-widening forms of null and undefined 2016-06-02 06:32:14 -07:00
zhengbli
0e96c5eaf1 Run fixupParentReferences when parsing isolated jsDocComment 2016-06-01 22:57:25 -07:00
Nathan Shively-Sanders
9a620bf616 Actually merge from master 2016-06-01 11:39:22 -07:00
Nathan Shively-Sanders
d111a0f733 Merge branch 'master' into narrow-all-types 2016-06-01 11:27:50 -07:00
zhengbli
eb0f035c78 Remove unused parameter 2016-05-31 16:08:12 -07:00
zhengbli
630517b8ad Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 15:30:42 -07:00
Anders Hejlsberg
4095602ce5 Merge pull request #8849 from Microsoft/outerControlFlows
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
Anders Hejlsberg
41446fe4c2 Address CR feedback 2016-05-31 14:33:00 -07:00
zhengbli
241920c960 Merge branch 'outerControlFlows' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/binder.ts
2016-05-31 14:02:45 -07:00
Zhengbo Li
5261467a32 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 10:39:23 -07:00