Commit Graph
15396 Commits
Author SHA1 Message Date
zhengbli 761895dee4 Port (#12372) 2016-11-22 11:11:00 -08:00
Mohamed Hegazy 77613eb325 Merge pull request #12440 from Microsoft/mergeMaster11222016
Merge master into release-2.1
2016-11-22 10:59:17 -08:00
Mohamed Hegazy 7e8af628ed Merge branch 'master' into release-2.1 2016-11-22 10:45:18 -08:00
Mohamed Hegazy 2d16b19ef9 Merge pull request #12431 from Microsoft/rwcFixes
Rwc fixes
2016-11-21 17:37:34 -08:00
Mohamed Hegazy b8b6e61491 handel missing files gracefully 2016-11-21 17:26:18 -08:00
Mohamed Hegazy 5403ce62ed normalize path in harness 2016-11-21 17:26:10 -08:00
Mohamed Hegazy 843d08b5af increase timeout 2016-11-21 17:25:38 -08:00
Mohamed Hegazy 9009da225c Update baseline-accept configuration 2016-11-21 17:25:31 -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
Vladimir Matveev 6389a0debc wrap subexpressions of conditional expressions in parens if necessary (#12420) (#12422) 2016-11-21 13:41:12 -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
Anders Hejlsberg 1710df5f28 Type of for-in variable is keyof T when object type is a type parameter 2016-11-21 12:56:32 -08:00
Vladimir Matveev 4c6b94f16f wrap subexpressions of conditional expressions in parens if necessary (#12420) 2016-11-21 12:52:13 -08:00
Andy 90ee161391 Merge pull request #12350 from Microsoft/default_excludes
Make "exclude" default to empty if "include" is present.
2016-11-21 12:23:53 -08:00
Vladimir Matveev 4c8cdb41e6 recompute character to column when comparing indentations (#12375) (#12418)
recompute character to column when comparing indentations
2016-11-21 12:06:43 -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
Anders Hejlsberg 854a20f1fe Update Record<K, T> type 2016-11-21 11:42:21 -08:00
Anders Hejlsberg 76ceab97dd Make keyof T a string-like type 2016-11-21 11:41:51 -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
Nathan Shively-Sanders 409253145e Merge pull request #12335 from Microsoft/getJSDoc-cleanup
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Andy baa228bbe8 Merge pull request #12415 from Microsoft/fix_lint
Fix lint errors
2016-11-21 10:53:16 -08:00
Zhengbo Li 0952e7d8d6 Port 12369 to release-2.1 (#12414) 2016-11-21 10:45:43 -08:00
Andy Hanson 7c1f33f913 Fix lint errors 2016-11-21 10:42:54 -08:00
Zhengbo Li 110c3ac6ac Add locale options to tsserver (#12369)
* add locale options to tsserver

* make sys an argument

* fix mistakes and address code review
2016-11-21 10:30:38 -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
Mohamed Hegazy f8b8465a4c Merge pull request #12378 from andraaspar/master
Fix issue #12260.
2016-11-20 15:07:31 -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
Vladimir Matveev f2a7434fa3 Merge pull request #12376 from Microsoft/vladima/update-tslint
update to tslint@next
2016-11-19 10:58:36 -08:00
Anders Hejlsberg dcd225a892 Fix comparable relation for keyof T
Treat keyof T as string | number for purposes of indexing
Allow indexed access types with for-in and in operator
2016-11-19 09:03:23 -08:00
András Parditka c96bc89982 Fix issue #12260.
Fixed tsserver crashing on Android (Termux).
2016-11-19 11:28:11 +01:00
Vladimir Matveev eaf791e328 update to tslint@next 2016-11-18 22:53:38 -08:00
Nathan Shively-Sanders b857439270 Check assignability: rest destructuring assignment 2016-11-18 16:02:03 -08:00
Nathan Shively-Sanders 6b0de7b5ae Test assignability checking of object rests 2016-11-18 16:01:54 -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 0e1be3efa1 Always enable evolving types in Javascript files 2016-11-18 15:52:34 -08:00
Nathan Shively-Sanders 6fb9d9a811 Update baselines to have no evolving types 2016-11-18 15:52:29 -08:00
Nathan Shively-Sanders 90fa6335c8 Disable evolving types with implicit any
That is, without --noImplicitAny
2016-11-18 15:52:24 -08:00
Nathan Shively-Sanders 0c5429d3b7 Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00
Sheetal Nandi 707ed699bb Merge pull request #12366 from Microsoft/declarationsInFilesWithErrors
[Release 2.1] Fixes for #12291 and #12326: Declaration emit when there are errors in the source file
2016-11-18 15:46:58 -08:00
Nathan Shively-Sanders 91e6bce34c Address PR comments 2016-11-18 15:44:15 -08:00
Mohamed Hegazy b8f6227aa8 Merge pull request #12368 from Microsoft/Port12351-3
Port #12351  to release-2.1
2016-11-18 15:42:32 -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
Anders Hejlsberg a41746bd6c Add tests 2016-11-18 15:24:52 -08:00
Anders Hejlsberg dad5736306 Support apparent types for T[K] indexed access types 2016-11-18 15:24:47 -08:00
Anders Hejlsberg c1d9b19bc7 Add new tests 2016-11-18 15:24:43 -08:00
Anders Hejlsberg 4b1ac518d3 Accept new baselines 2016-11-18 15:24:37 -08:00
Anders Hejlsberg 47cf1ff5fc Error on circular constraints in mapped types 2016-11-18 15:24:32 -08:00