Commit Graph
20 Commits
Author SHA1 Message Date
Florian Regensburger 196db5bbcb Fixed lint error 2019-07-10 02:35:40 +02:00
Florian Regensburger f273448925 Added addMissingConst codefix for comma separated initializers 2019-07-10 02:11:02 +02:00
Florian Regensburger 1de7881141 Add negative test case for addMissingConst codeFix with unexpected array elements 2019-07-09 02:07:54 +02:00
Florian Regensburger 384669a1ce Finish addMissingConst codefix for single variable and array literal assignments 2019-07-09 01:56:50 +02:00
Florian Regensburger 7d08f172d8 Added fourslash tests for standalone and array initialization cases and started implementing them 2019-07-07 13:56:34 +02:00
Florian Regensburger 573b537015 Merge branch 'add-codefix-cannot-find-name-in-for-loop' of https://github.com/rflorian/TypeScript into add-codefix-cannot-find-name-in-for-loop 2019-07-02 00:45:03 +02:00
Florian Regensburger bd9f39dbcc Merge branch 'master' into add-codefix-cannot-find-name-in-for-loop 2019-07-02 00:41:27 +02:00
Florian Regensburger 41ebeec057 Revert unrelated fourslash test changes 2019-07-02 00:36:44 +02:00
rflorian 10ee6d9ea4 Merge branch 'master' into add-codefix-cannot-find-name-in-for-loop 2019-05-31 15:06:39 +02:00
Florian Regensburger e0a685da4f Fix whitespace issue in codefix file 2019-05-09 01:34:21 +02:00
Florian Regensburger e395e49a8f Add secondary error code to relevant error code list in addMissingConstInForLoop codefix 2019-05-09 01:17:31 +02:00
rflorian 8987e56e41 Fix error from master merge 2019-05-09 00:30:55 +02:00
rflorian d4529e8355 Merge branch 'master' into add-codefix-cannot-find-name-in-for-loop 2019-05-09 00:22:01 +02:00
rflorian 8a048159ba Merge branch 'master' into add-codefix-cannot-find-name-in-for-loop 2019-01-17 00:07:43 +01:00
Florian Regensburger 1fd2371a37 Fixed codeFixAll behavior and adjusted changed fourslash tests 2018-11-15 23:05:14 +01:00
Florian Regensburger 94118b64c5 Properly check if a codefix is needed 2018-11-15 23:05:14 +01:00
Florian Regensburger 70fee3fb36 Review changes and adjustment of fourslash tests 2018-11-15 23:05:14 +01:00
Florian Regensburger 2dae10f6ba Revert whitespace change 2018-11-15 23:03:15 +01:00
Florian Regensburger 1e6a5f3d0b Add codefix for 'Cannot find name' diagnostic 2018-11-15 23:03:15 +01:00
rflorian 66e9aaac18 Issue 19220 function parameter arity (#24031)
* Added reference test case and diagnostics message

* Adjusted arity checks to account for non-contiguous overloads

* Code cleanup, baseline not yet commited

* Accepted test baselines and minor implementation changes

* Cleaned up baseline tracking the now renamed arity check test

* Add range response when range contains only 2 values

* Added recent baseline

* Refined arity error messages when available overloads can be grouped

* Rolled back code formatting

* WIP cleanup needed in a few edge cases

* Finished adding new more descriptive error messages

* Code cleanup

* Added simplified version of bugfix for #19220

* Rebased onto master

* Removed whitespace after type assertion

* Code review simplifications

* Use correct diagnostic name

* Code review changes and simplification of diagnostic message

* Revert formatting changes
2018-07-11 17:19:56 -07:00