6873 Commits

Author SHA1 Message Date
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
Anders Hejlsberg
dbc661f88e Accept new baselines 2016-11-21 12:57:43 -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
c5558482b7 Accept new baselines 2016-11-21 11:43:15 -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
Anders Hejlsberg
4ce494a27d Accept new baselines 2016-11-19 15:10:35 -08:00
Anders Hejlsberg
a439e62138 Add tests 2016-11-19 15:10:22 -08:00
Nathan Shively-Sanders
71b28a024a Merge pull request #12310 from Microsoft/check-object-rest-destructuring-assignment
Check object rest destructuring assignment
2016-11-18 16:01:25 -08:00
Nathan Shively-Sanders
b514d7c91c Merge pull request #12362 from Microsoft/disable-evolving-types-with-implicit-any
Disable evolving types with implicit any
2016-11-18 15:39:02 -08:00
Sheetal Nandi
f626ff777f Merge pull request #12363 from Microsoft/declarationsInFilesWithErrors
Fixes for #12291 and  #12326: Declaration emit when there are errors in the source file
2016-11-18 14:57:09 -08:00
Nathan Shively-Sanders
7750fe1a7c Always enable evolving types in Javascript files 2016-11-18 14:13:56 -08:00
Anders Hejlsberg
e81da9cd8a Merge pull request #12351 from Microsoft/mappedTypeRelations
Higher order type relations for mapped types
2016-11-18 14:10:09 -08:00
Sheetal Nandi
aa556502f3 Handle when type alias's type parameter extends type that wont get emitted in .d.ts
Fixes #12326
2016-11-18 14:02:57 -08:00
Nathan Shively-Sanders
a4d584f14a Update baselines to have no evolving types 2016-11-18 13:53:18 -08:00
Nathan Shively-Sanders
8674d92bdb Disable evolving types with implicit any
That is, without --noImplicitAny
2016-11-18 13:51:44 -08:00
Vladimir Matveev
9945529875 use location of config file as initial location for automatic type reference inclusion if possible (#12341) 2016-11-18 13:39:11 -08:00
Anders Hejlsberg
a789990781 Add tests 2016-11-18 13:31:10 -08:00
Sheetal Nandi
cbde25f229 Handle the scenario when heritage clause of interface is not entity name expression
Fixes #12291
2016-11-18 13:11:33 -08:00
Anders Hejlsberg
075a3eb98f Add new tests 2016-11-18 06:27:45 -08:00
Anders Hejlsberg
79bdc26745 Accept new baselines 2016-11-18 06:27:24 -08:00
Anton Khlynovskiy
3e52f3dfe9 Codegen: Do not subtract 0 in arguments to rest array loop 2016-11-17 22:06:45 +03:00
Paul van Brenk
52ec508e27 Code fix for missing imports (#11768)
* Add codefix for missing imports + tests

* Re-order and cleanup

* refactor

* make tests pass

* Make import specifier for new imports more comprehensive

* Fix existing import cases

* refactor

* Fix multiple import statement case

* add multiple code fixes and code action filtering and polishing

* not using the generic verify method for import fixes.

* Correct insert position for new imports

* improve the code action filtering logic

* Fix line ending issue

* cache where we can
2016-11-16 16:01:16 -08:00
Nathan Shively-Sanders
c7b0083820 Test widen literal types of parameter properties 2016-11-16 15:15:30 -08:00
Nathan Shively-Sanders
641948fb0c Test assignability checking of object rests 2016-11-16 13:41:18 -08:00
Nathan Shively-Sanders
d566c3be43 Merge branch 'master' into improve-spread-helper-emit 2016-11-16 10:53:05 -08:00
Ron Buckton
3a95f9244b Merge pull request #11874 from Microsoft/emitHelper
Move emit helpers into related transformers
2016-11-16 10:37:35 -08:00
Anders Hejlsberg
a5d9e9624d Merge pull request #12301 from Microsoft/recursiveMappedTypes
Fix recursive mapped types
2016-11-16 10:23:14 -08:00
Nathan Shively-Sanders
e7bfd02ca9 Update baselines with new __assign emit 2016-11-16 10:15:57 -08:00
Anders Hejlsberg
78726aeb3d Accept new baselines 2016-11-16 06:49:15 -08:00
Anders Hejlsberg
c00a04d781 Add tests 2016-11-16 06:49:04 -08:00
Ron Buckton
63b154056e Merge branch 'streamlineDestructuring' into emitHelper 2016-11-15 18:28:19 -08:00
Ron Buckton
ec95f4f0f7 Merge branch 'streamlineDestructuring' into emitHelper 2016-11-15 18:13:52 -08:00
Ron Buckton
3a67174314 Merge branch 'master' into streamlineDestructuring 2016-11-15 18:10:02 -08:00
Ron Buckton
346d488c62 Merge branch 'master' into emitHelper 2016-11-15 17:13:57 -08:00
Ron Buckton
ba4f52c055 Merge remote-tracking branch 'origin/object-rest-emit-for-method-and-accessor-parameters' into streamlineDestructuring 2016-11-15 17:09:49 -08:00
Ron Buckton
8733973d1f Merge branch 'streamlineDestructuring' into isolateObjectSpread 2016-11-15 14:50:42 -08:00
Ron Buckton
e389e08f71 Fix argument list for new containing yield 2016-11-15 14:04:07 -08:00
Ron Buckton
0dd96f52e8 Merge branch 'master' into streamlineDestructuring 2016-11-15 13:38:56 -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
Ron Buckton
98e192f357 Move transformFunctionBody back into es2015 2016-11-15 12:32:43 -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
Nathan Shively-Sanders
6c1f7331cb Update baselines with fixed emit 2016-11-15 11:33:08 -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