9525 Commits

Author SHA1 Message Date
Daniel Rosenwasser
e71b46b25d Refactored most of 'isSignatureAssignableTo' to a more general function based on 'signatureRelatedTo'. 2015-12-17 17:17:33 -08:00
Daniel Rosenwasser
8d46ffdb73 Merge pull request #6075 from Microsoft/overloadCompatibility
Implement new overload compatibility checking
2015-12-17 17:15:22 -08:00
Nathan Shively-Sanders
4d792f2014 Merge pull request #6036 from Microsoft/structural-enums
Compare enums semi-structurally.
2015-12-17 16:31:03 -08:00
Nathan Shively-Sanders
b04bd66bb2 Get type of target enum outside the lookup loop 2015-12-17 16:18:55 -08:00
Nathan Shively-Sanders
d59831b4e8 Get rid of list and map abstractions to reduce GC pressure 2015-12-17 15:38:02 -08:00
Daniel Rosenwasser
5d8d09f90d Merge pull request #6136 from Microsoft/dontEditDocs
Added README.md to the 'doc' folder.
2015-12-17 13:40:33 -08:00
Daniel Rosenwasser
3558d7d423 Added README.md to 'doc' folder. 2015-12-17 11:34:54 -08:00
Nathan Shively-Sanders
aa1a7664e7 Add enum/module merge test 2015-12-16 12:11:24 -08:00
Daniel Rosenwasser
731925bffe Fix linter nits. 2015-12-15 20:55:54 -08:00
Daniel Rosenwasser
d8db60a9a2 Use a comparison function instead of creating a new type for each signature. 2015-12-15 17:52:26 -08:00
Anders Hejlsberg
55d4f0f7e4 Merge pull request #6083 from Microsoft/simplifyDeferredChecking
Simplify deferred function, class, and accessor checking
2015-12-15 09:07:07 -08:00
Daniel Rosenwasser
2efa69773d Accepted baselines. 2015-12-14 14:24:55 -08:00
Daniel Rosenwasser
5cbf17d989 Added tests. 2015-12-14 14:16:31 -08:00
Ryan Cavanaugh
2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Ryan Cavanaugh
37f3ff8d05 Check for function flag on class symbol 2015-12-14 11:32:06 -08:00
Anders Hejlsberg
ef9f4043c4 Merge pull request #6091 from Microsoft/circularTypeofIssue
Fix circular typeof issue in function/namespace combo
2015-12-14 10:54:22 -08:00
Anders Hejlsberg
3c8ad42a62 Adding regression test 2015-12-13 18:32:46 -08:00
Anders Hejlsberg
e354aec8a3 Mark anonymous type as resolved before resolving call signatures 2015-12-13 18:25:45 -08:00
Anders Hejlsberg
91b93439f1 Accepting new baselines 2015-12-12 15:57:39 -08:00
Anders Hejlsberg
b44f6e47d6 Simplify deferred checking of function, class, and accessor bodies. 2015-12-12 15:56:43 -08:00
Anders Hejlsberg
87036fe9f7 Merge pull request #6058 from Microsoft/delayAccessorBodyCheck
Defer checks of accessor bodies in object literals
2015-12-12 15:45:05 -08:00
Paul van Brenk
9d1cc31144 Merge pull request #6074 from Microsoft/supportChakra
make ChakraHost more generally usefull
2015-12-11 16:55:39 -08:00
Wesley Wigham
7e5b83c2b3 Merge pull request #6042 from weswigham/fourslash-this-predicates
Add language service tests for this predicates
2015-12-11 16:33:36 -08:00
Daniel Rosenwasser
3ede99ff74 Merge pull request #6076 from weswigham/fix-parens
Accept baseline with corrected parens
2015-12-11 16:33:00 -08:00
Paul van Brenk
27493736c3 trailing whitespace 2015-12-11 16:32:44 -08:00
Wesley Wigham
8ecb045271 accept baseline 2015-12-11 16:29:39 -08:00
Paul van Brenk
0c365daac5 make ChakraHost more generally usefull 2015-12-11 16:19:08 -08:00
Wesley Wigham
5ee0957974 Merge pull request #6044 from weswigham/redeclared-export-type
Exempt one type declaration from the redeclared export check - Fix #6043
2015-12-11 16:15:22 -08:00
Wesley Wigham
f3b55b8198 whitespace 2015-12-11 16:14:47 -08:00
Daniel Rosenwasser
73526cf39a Do some caching so that we don't repeat the same work for the implementation signature for every overload. 2015-12-11 16:01:56 -08:00
Daniel Rosenwasser
a236461358 Reversed order of checks, since the implementation will typically be more general than the overload. 2015-12-11 15:10:50 -08:00
Daniel Rosenwasser
e012645309 Accepted baselines. 2015-12-11 15:08:45 -08:00
Daniel Rosenwasser
9b507b7512 Specifically test for 'void' to permit implementations to return more than what was guaranteed. 2015-12-11 15:08:30 -08:00
Daniel Rosenwasser
069fada0ce Accepted baselines. 2015-12-11 15:04:59 -08:00
Daniel Rosenwasser
3cdfc36109 Added tests for 'void' return type compatibilty on overloads and implementations. 2015-12-11 15:04:27 -08:00
Daniel Rosenwasser
8cceedd725 Accepted baselines. 2015-12-11 14:27:24 -08:00
Daniel Rosenwasser
e9dc011080 Fixed unnecessary error in test. 2015-12-11 14:10:19 -08:00
Daniel Rosenwasser
fc170da0e4 Merge branch 'master' into overloadCompatibility 2015-12-11 13:51:50 -08:00
Vladimir Matveev
f51de5b28f Merge pull request #5860 from Microsoft/superPropertiesInES6
do not error on 'super' property access in ES6
2015-12-11 13:20:20 -08:00
Anders Hejlsberg
18e23a1b90 Addressing CR feedback 2015-12-11 10:52:04 -08:00
Nathan Shively-Sanders
dc9d307f13 Fix lint 2015-12-11 10:08:01 -08:00
Nathan Shively-Sanders
8202576ab2 Filter for enum members only. 2015-12-11 09:56:13 -08:00
Zhengbo Li
8c6105f4dc Merge pull request #6066 from zhengbli/i6016_for17
Roll back to polling file watching for 1.7
2015-12-10 23:40:45 -08:00
Zhengbo Li
564c4af59b Rollback to polling file watching 2015-12-10 23:27:07 -08:00
Wesley Wigham
14374e6253 split tests by completions/quick info 2015-12-10 20:00:52 -08:00
Wesley Wigham
ef6c137f9e add feedback from PR 2015-12-10 19:55:08 -08:00
Anders Hejlsberg
ff784770be Merge pull request #5949 from Microsoft/typeParametersAsConstraints
Type parameters as constraints
2015-12-10 16:53:59 -08:00
Anders Hejlsberg
2e5a4ea983 Adding regression test 2015-12-10 16:19:02 -08:00
Anders Hejlsberg
7fe811e6b2 Defer checks of accessor bodies in object literals 2015-12-10 16:02:46 -08:00
Nathan Shively-Sanders
da8e19e191 Use typeof enum to resolve members.
Use getTypeOfSymbol >> resolveStructuredTypeMembers >> properties instead
of looking at declarations.
2015-12-10 15:25:01 -08:00