Arthur Ozga
389959a5b5
Merge branch 'master' into interfaceFixes
...
* additionally consolidated codeFix testing
2016-11-15 14:43:14 -08:00
Arthur Ozga
6ed8d1803b
unexpose resolveStructuredTypeMembers
2016-11-15 13:56:42 -08:00
Anders Hejlsberg
73ada7a78d
Merge pull request #12251 from Microsoft/fixTypePredicateStructuralMatch
...
Fix type predicates with structurally identical types
2016-11-15 13:20:35 -08:00
Anders Hejlsberg
0ba23483e8
Merge pull request #12276 from Microsoft/libMappedTypes
...
Predefined mapped types in lib.d.ts
2016-11-15 13:19:58 -08:00
Vladimir Matveev
4c2474463c
ports #12237 , #12258 and #12259 into master ( #12274 )
...
* treat failures to resolve module name as missing packages (#12237 )
* added extra check to prevent multiple installation of the same typing, added version field to telemetry event (#12258 )
* added extra check to prevent multiple installation of the same typing, added version field to telemetry event
* use ts.version
* switch to execSync to ensure that no install orders are interleaved (#12259 )
* Make sure version is public
* Update file with version string for nightly release
2016-11-15 12:53:46 -08:00
Arthur Ozga
43afb806de
remove fix
...
* fixRemoveAbstractModifierInNonAbstractClass.ts
2016-11-15 12:49:38 -08:00
Arthur Ozga
a94d955d9d
Aggregate changes before building result
2016-11-15 12:40:46 -08:00
Nathan Shively-Sanders
d96a0ad2df
Merge pull request #12248 from Microsoft/object-spread-rest-fixes
...
Object spread rest fixes
2016-11-15 12:32:02 -08:00
Anders Hejlsberg
997c586252
Accept new baselines
2016-11-15 12:15:42 -08:00
Anders Hejlsberg
04a0f55e96
Revise tests
2016-11-15 12:15:11 -08:00
Anders Hejlsberg
d32196ff36
Add predefined mapped types and revise Object.freeze
2016-11-15 12:14:46 -08:00
Anders Hejlsberg
fe3f88cd08
Properly handle identity relation for mapped types
2016-11-15 12:14:02 -08:00
Arthur Ozga
d7d4bf6b04
Handle class expressions
2016-11-15 11:41:23 -08:00
Nathan Shively-Sanders
6c1f7331cb
Update baselines with fixed emit
2016-11-15 11:33:08 -08:00
Nathan Shively-Sanders
bb46e789d5
Fix spread/rest emit for symbols.
...
It used the index of the symbol property as the name, not the symbol
itself.
2016-11-15 11:31:21 -08:00
Arthur Ozga
395d736843
Remove getSymbolOfNode from TypeChecker interface
2016-11-15 11:24:37 -08:00
Nathan Shively-Sanders
c011b36d2e
Update baseline of newly merged test
2016-11-15 11:21:23 -08:00
Nathan Shively-Sanders
2496756aed
Merge branch 'master' into object-spread-rest-fixes
2016-11-15 11:19:01 -08:00
Nathan Shively-Sanders
0690bf4ca1
Update baselines
2016-11-15 10:59:09 -08:00
Nathan Shively-Sanders
47f331926e
Improve rest/spread emit for symbols
...
Previously, symbols were not handled.
2016-11-15 10:58:33 -08:00
Arthur Ozga
c010a0e974
Use getTypeOfSymbolAtLocation
2016-11-15 10:57:48 -08:00
Paul van Brenk
57feab348b
Merge pull request #11546 from Microsoft/unusedidentifier
...
Codefix for removing Unused Identifiers
2016-11-15 10:30:16 -08:00
Paul van Brenk
1924298d87
Merge branch 'master' into unusedidentifier
2016-11-15 10:17:37 -08:00
Nathan Shively-Sanders
b9fa06f90b
Address PR commennts
...
Update baselines with smaller emit as part of that.
2016-11-15 09:10:55 -08:00
Nathan Shively-Sanders
a74e9d8ccf
Merge pull request #12158 from Microsoft/fix-literal-comparability-in-relational-comparison-operators
...
Fix literal comparability in relational comparison operators
2016-11-15 08:24:06 -08:00
Anders Hejlsberg
b6b4361035
Accept new baselines
2016-11-14 17:14:09 -08:00
Anders Hejlsberg
d2c0952801
Revert type predicates to not have instanceof special casing
2016-11-14 17:13:49 -08:00
Mohamed Hegazy
ddf2ad4ba1
Merge pull request #12247 from Microsoft/fix10840
...
Fix missing alias for decorated classes in es5
2016-11-14 17:09:33 -08:00
Anders Hejlsberg
2bcb6e9812
Accept baselines
2016-11-14 17:06:57 -08:00
Anders Hejlsberg
6d28595e5a
Add repro test
2016-11-14 17:06:46 -08:00
Nathan Shively-Sanders
7c72f3db02
Update baselines
2016-11-14 16:24:02 -08:00
Nathan Shively-Sanders
fe66d9ef9f
Add spread tests and update rest tests
2016-11-14 16:23:40 -08:00
Nathan Shively-Sanders
6f274eaabe
Spread+rest fixes
...
1. Rename finds identifiers in spread assignment expressions.
2. Spreads with computed properties of type number or any no longer
crash the compiler.
3. Rest emit uses indexOf === -1 instead of !indexOf to filter properties.
4. Rest emit correctly refers to computed properties' generated temps.
2016-11-14 16:20:43 -08:00
Nathan Shively-Sanders
e50adc0904
Merge pull request #12223 from Microsoft/fix-object-spread-rest-async-emit
...
Fix object spread+async emit
2016-11-14 16:15:15 -08:00
Mohamed Hegazy
1164df2c6d
Merge pull request #12197 from Microsoft/commentsSuperCallReturns
...
Fix up comments for super calls rewritten as returns
2016-11-14 16:10:03 -08:00
Ron Buckton
bb218107a9
Fix missing alias for decorated classes in es5
2016-11-14 15:50:47 -08:00
Arthur Ozga
6400d53394
Fix handling of default class
2016-11-14 15:43:24 -08:00
Ron Buckton
6e3bbcc6fc
Merge pull request #12245 from Microsoft/fix12244
...
Fix string constituent check in checkElementTypeOfArrayOrString
2016-11-14 15:27:45 -08:00
Ron Buckton
cb1bb19358
Update comment
2016-11-14 15:26:33 -08:00
Ron Buckton
db4ea4a008
Update baselines
2016-11-14 15:25:29 -08:00
Arthur Ozga
d8b359f67b
Fix typo and capitalization
2016-11-14 15:22:52 -08:00
Ron Buckton
06a13b9d10
Fix string constituent check in checkElementTypeOfArrayOrString
2016-11-14 15:22:04 -08:00
Arthur Ozga
ad3035d8ca
remove generated file from PR
2016-11-14 15:18:34 -08:00
Arthur Ozga
cfe50d1b92
Fix extends -> implements for decorators/modifiers
2016-11-14 15:13:46 -08:00
Vladimir Matveev
f13e6d4ca6
enable syntactic features if project size exceeded the limit, send events when state of language service changes ( #12190 )
...
* enable syntactic features if project size exceeded the limit, send events when state of language service changes
* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Vladimir Matveev
04aaa32367
add 'installSuccess' flag to telemetry, cache misses if npm install fails ( #12163 ) ( #12240 )
...
* add 'installSuccess' flag to telemetry, cache misses if npm install fails
* fix typo
2016-11-14 14:56:49 -08:00
Arthur Ozga
bba96da128
remove multiple implements TODO
2016-11-14 14:33:29 -08:00
Arthur Ozga
efd16c780b
Spell out names fully
2016-11-14 14:32:40 -08:00
Arthur Ozga
f6fc320c1f
Get Ancestor instead of manual walk
2016-11-14 14:24:03 -08:00
Arthur Ozga
357ed7ed7d
Remove Inner Loop
2016-11-14 14:23:08 -08:00