5019 Commits

Author SHA1 Message Date
Sheetal Nandi
86f69f13fa Add test for the decorated method beginning with underscore 2016-12-01 13:04:11 -08:00
Nathan Shively-Sanders
fc1f6e3ee6 Merge pull request #12564 from Microsoft/rest-of-untyped-binding-pattern-is-any
Rest of untyped binding pattern is { [s: string]: any }
2016-11-30 17:39:18 -08:00
Nathan Shively-Sanders
77226318ef Update baselines 2016-11-30 17:26:30 -08:00
Sheetal Nandi
adf9b26f50 Handle parameter type error for index signature in declaration emit
Fixes #12572
2016-11-30 16:28:26 -08:00
Nathan Shively-Sanders
8e648f9f6d Add property access and --noImplicitAny tests
And update baselines
2016-11-30 13:14:52 -08:00
Anders Hejlsberg
2517187c4a Add tests 2016-11-30 10:24:19 -08:00
Mohamed Hegazy
4c9bdb932a Merge pull request #12552 from Microsoft/spreadRestIntersectionAndUnions
Spread & rest over intersection and unions
2016-11-29 17:27:04 -08:00
Anders Hejlsberg
aaf0c89ed3 Merge pull request #12563 from Microsoft/mappedTypeModifiers
Preserve modifiers in homomorphic mapped types
2016-11-29 16:06:20 -08:00
Anders Hejlsberg
65e98c84d5 Add more tests 2016-11-29 14:06:10 -08:00
Arthur Ozga
4b0697ff9d fix test 2016-11-29 16:04:56 -06:00
Arthur Ozga
3cd1731628 abstract accessors can't have implementations 2016-11-29 15:59:28 -06:00
Nathan Shively-Sanders
f85ca9c395 Test that rest of untyped binding pattern is any 2016-11-29 13:50:56 -08:00
Mohamed Hegazy
51f5ef6752 Update test 2016-11-29 13:37:21 -08:00
Anders Hejlsberg
f366ae0332 Add tests 2016-11-29 12:48:55 -08:00
Mohamed Hegazy
e4f0a50a7c Update test name 2016-11-29 12:29:40 -08:00
Mohamed Hegazy
9ab55c1576 change test 2016-11-29 12:27:56 -08:00
Mohamed Hegazy
216f286133 Handel null and undefined in object spread and rest 2016-11-29 12:25:10 -08:00
Mohamed Hegazy
f2e30f6693 Allow union and intersection as targets for object spread and rest, and distribute spread&rest over unions 2016-11-29 00:04:20 -08:00
Anders Hejlsberg
c89b1eb9e9 Merge pull request #12386 from mariusschulz/union-and-intersection-types-with-leading-operator
Union and intersection types with leading operator
2016-11-28 15:57:24 -08:00
Anders Hejlsberg
5dd4c9ef54 Merge pull request #12528 from Microsoft/mappedTypeInference
Type inference for isomorphic mapped types
2016-11-28 13:30:45 -08:00
Mohamed Hegazy
9cac35be25 Merge pull request #12533 from ethanresnick/keyof-tests
Update keyof tests to reflect #12425
2016-11-28 12:08:03 -08:00
Anders Hejlsberg
2b0721672c Add regression test 2016-11-28 11:01:19 -08:00
Anders Hejlsberg
0be4edefca Add regression test 2016-11-28 09:35:03 -08:00
Ethan Resnick
8b7252c4b0 Update keyof tests to reflect #12425
Removes number from all the keyof types, and adds a test that numeric
indexes are ignored.
2016-11-28 04:21:33 -08:00
Anders Hejlsberg
997184708d Add tests 2016-11-27 12:49:27 -08:00
Anders Hejlsberg
88b7d53978 Merge pull request #12515 from Microsoft/fixMappedTypeInference
Include mapped types in type inference infinite recursion check
2016-11-26 18:14:18 -08:00
Anders Hejlsberg
d1393a60d4 Add regression test 2016-11-26 12:22:29 -08:00
Anders Hejlsberg
12b63d230a Add regression test 2016-11-26 10:06:33 -08:00
Anders Hejlsberg
2cec4c5ebb Add regression test 2016-11-23 18:28:59 -08:00
Anders Hejlsberg
e128add54e Merge pull request #12447 from Microsoft/mappedTypesAndUnions
Isomorphic mapped types and unions
2016-11-23 17:36:44 -08:00
Mohamed Hegazy
72cee3e045 Merge pull request #12434 from Microsoft/Fix12377
Add special handeling for function and array in Object.freeze
2016-11-23 13:26:36 -08:00
Sheetal Nandi
20a8a30b76 Instead of creating clone of the jsxFactory's leaf node, create synthesized node
Fixes #12467
This avoid setting original node which would be something from isolated parsing and hence not valid when resolving expression
2016-11-23 12:26:02 -08:00
Sheetal Nandi
79bf477b67 Revert "Instead of creating clone of the jsxFactory's leaf node, create synthesized node"
This reverts commit 4e7313b4f69682df92c48feac6aa50910a592d04.
2016-11-23 12:24:44 -08:00
Sheetal Nandi
4e7313b4f6 Instead of creating clone of the jsxFactory's leaf node, create synthesized node
Fixes #12467
This avoid setting original node which would be something from isolated parsing and hence not valid when resolving expression
2016-11-23 12:22:28 -08:00
Mohamed Hegazy
60395565e6 Handel call and construct signatures 2016-11-23 09:48:25 -08:00
Daniel Rosenwasser
4701eb70e2 Merge pull request #12357 from mylesmegyesi/12075-incorrectErrorMessageForUseOfTypeAsNamespace
Fixes error message when Type is used as a Namespace
2016-11-23 11:08:38 -05:00
Anders Hejlsberg
864e1797d9 Merge pull request #12396 from Microsoft/getTypeOfExpression
Introduce 'getTypeOfExpression' function
2016-11-22 15:33:37 -08:00
Anders Hejlsberg
43e383f20b Add more tests 2016-11-22 14:28:45 -08:00
Anders Hejlsberg
66f8a406dd Update tests 2016-11-22 14:28:21 -08:00
Ryan Cavanaugh
86583d495c Merge pull request #12441 from RyanCavanaugh/jsDocAugments
Support JSDoc @augments tag
2016-11-22 11:23:45 -08:00
Ryan Cavanaugh
6a5682c4a3 Support JSDoc @augments tag
Fixes #12428
2016-11-22 10:52:47 -08:00
Mohamed Hegazy
72df02cbbd Add function 2016-11-21 23:27:18 -08:00
Mohamed Hegazy
8a334ac00d Add special handeling for function and array in Object.freeze 2016-11-21 23:13:22 -08:00
Anders Hejlsberg
77c0540433 Merge pull request #12425 from Microsoft/keyofOnlyStrings
Change 'keyof T' to always be string-like
2016-11-21 15:51:00 -08:00
Anders Hejlsberg
b662a8b319 Add test case 2016-11-21 13:10:42 -08:00
Vladimir Matveev
4c6b94f16f wrap subexpressions of conditional expressions in parens if necessary (#12420) 2016-11-21 12:52:13 -08:00
Anders Hejlsberg
5498a95245 Update tests 2016-11-21 11:42:38 -08:00
Vladimir Matveev
b060107b51 recompute character to column when comparing indentations (#12375)
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00
Anders Hejlsberg
998246af9c Merge pull request #12389 from Microsoft/keyofRelations
Minor fixes for 'keyof T' and indexed acces types
2016-11-20 15:54:41 -08:00
Marius Schulz
d040db42f5 Add test for proper tuple type handling 2016-11-20 22:26:32 +01:00