Commit Graph

5099 Commits

Author SHA1 Message Date
Arthur Ozga
ad011108e6 Consolidate Tests 2016-12-11 22:07:49 -08:00
Arthur Ozga
1ba6c8605b Merge branch 'master' into interfaceFixes 2016-12-11 21:51:29 -08:00
Arthur Ozga
469745b181 Synthetic signature uses existing parameter names 2016-12-11 21:50:46 -08:00
Anders Hejlsberg
7c5c664a1c Merge pull request #12826 from Microsoft/mappedTypeModifiers2
Improve propagation of modifiers in mapped types
2016-12-10 15:16:05 -08:00
Anders Hejlsberg
57cb4aceb7 Merge pull request #12770 from Microsoft/deferIndexedAccess
Defer indexed access T[K] with non-generic K
2016-12-10 15:15:39 -08:00
Anders Hejlsberg
7fdfcf11cd Add test to verify use of Pick<T, K> with setState 2016-12-10 10:15:18 -08:00
Anders Hejlsberg
7e974fadb6 Modify tests 2016-12-10 10:04:49 -08:00
Arthur Ozga
d724517110 Merge branch 'master' into interfaceFixes 2016-12-09 13:28:05 -08:00
Sheetal Nandi
a2fb5f9ce8 Merge pull request #12778 from Microsoft/unusedLocalsAndObjectSpread
Do not report unused local error on locals that are intended for removing properties with object spread
2016-12-09 09:28:54 -08:00
Arthur Ozga
819a654bb3 Add tests and fix rest parameters 2016-12-08 18:34:35 -08:00
Arthur Ozga
97b3d7a9ef make index signature fix work with generics 2016-12-08 17:19:19 -08:00
Arthur Ozga
2f51b363bf add missing index signature support 2016-12-08 16:34:15 -08:00
Sheetal Nandi
81452c544a Do not report unused local error on locals that are intended for removing properties with object spread
Fixes #12766
2016-12-08 15:12:35 -08:00
anubmat
9dd769dc3c Merge pull request #12741 from Microsoft/allowBracketCompletionInComments
Allow brace completion in comments
2016-12-08 14:37:11 -08:00
Sheetal Nandi
9505a18894 Add tests when object spread is used in destructuring 2016-12-08 14:35:35 -08:00
Anders Hejlsberg
29f6e7ff12 Merge branch 'master' into deferIndexedAccess
# Conflicts:
#	src/compiler/checker.ts
#	tests/baselines/reference/keyofAndIndexedAccess.js
#	tests/baselines/reference/keyofAndIndexedAccess.symbols
#	tests/baselines/reference/keyofAndIndexedAccess.types
#	tests/cases/conformance/types/keyof/keyofAndIndexedAccess.ts
2016-12-08 09:53:56 -08:00
Nathan Shively-Sanders
f79fca7087 Merge pull request #12675 from Microsoft/subsubclass-can-access-protected-constructor
Subsubclass can access protected constructor
2016-12-08 08:58:58 -08:00
Anders Hejlsberg
311bb3b2da Add circularity tests 2016-12-08 06:53:29 -08:00
Ron Buckton
91f0194e6a Merge pull request #12743 from Microsoft/fix12737
Fix await for inherited promise
2016-12-07 17:38:47 -08:00
Mohamed Hegazy
da4d41ff21 Merge pull request #12740 from Microsoft/fix12727
Fix decorator emit for accessors
2016-12-07 17:18:58 -08:00
Ron Buckton
8dcbea9675 Fix await for inherited promise 2016-12-07 17:17:17 -08:00
Arthur Ozga
c22e47d26d add test for computed literals 2016-12-07 17:12:42 -08:00
Arthur Ozga
5cd0ea3741 handle well-known computed property/method names 2016-12-07 17:00:20 -08:00
Anubha Mathur
cb0beb8343 Merge remote-tracking branch 'origin/master' into allowBracketCompletionInComments 2016-12-07 16:02:18 -08:00
Anubha Mathur
31dde97bbd Allowing brace completion inside comments in JS and TS files 2016-12-07 15:58:05 -08:00
Ron Buckton
7eca4bc9be Fix decorator emit for accessors 2016-12-07 15:48:23 -08:00
Andy
b0bbbcbe07 Merge pull request #12730 from Microsoft/memberList_to_completionList
Use "completionList" methods instead of "memberList" ones, since they're identical
2016-12-07 15:34:32 -08:00
Andy Hanson
6d37a60445 Remove debug statement 2016-12-07 14:07:35 -08:00
Andy Hanson
9f20077914 Use "completionList" methods instead of "memberList" ones, since they're identical 2016-12-07 13:36:11 -08:00
Arthur Ozga
c511aea581 Add Support for multiple signatures 2016-12-06 19:46:08 -08:00
Anders Hejlsberg
d7908d19be Add tests 2016-12-06 14:42:08 -08:00
Sheetal Nandi
2a65f5ba09 Merge pull request #12691 from Microsoft/displayPartKind
Write property name of destructuring pattern explicitly when writing symbol display for binding element
2016-12-06 12:48:57 -08:00
Sheetal Nandi
7d049c2742 Write property name of destructuring pattern explicitly
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -08:00
Ron Buckton
f89156bf55 Add error for super property before super 2016-12-06 10:47:02 -08:00
Arthur Ozga
f0c771303d implement getters/setters as property 2016-12-05 14:52:08 -08:00
Arthur Ozga
0c1772b7e0 Merge branch 'interfaceFixes' of https://github.com/Microsoft/TypeScript into interfaceFixes 2016-12-05 14:06:02 -08:00
Arthur Ozga
8134d64a16 Merge branch 'master' into interfaceFixes 2016-12-05 13:49:23 -08:00
Nathan Shively-Sanders
e3fb305d5a Test that sub-subclass can access protected ctor 2016-12-05 12:24:31 -08:00
Anders Hejlsberg
95aed3f4ee Add regression test 2016-12-04 07:49:55 -08:00
Anders Hejlsberg
b7e8a6d1f1 Merge pull request #12643 from Microsoft/keyofUnionIntersection
Properly handle unions and intersections with keyof T and T[K]
2016-12-04 07:03:15 -08:00
Anders Hejlsberg
b4836e3d3d Add tests 2016-12-03 17:19:10 -08:00
Anders Hejlsberg
773c9a734f Add tests 2016-12-03 11:03:40 -08:00
Anders Hejlsberg
a230cb7e77 Merge pull request #12623 from Microsoft/nestedIndexedAccess
Treat indexed access types 'T[K]' as type variables
2016-12-02 15:53:49 -08:00
Anders Hejlsberg
1e2425ebfc Add tests 2016-12-02 14:50:14 -08:00
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