Implement quick-fix replacing parameter name with _

This quick-fix is registered for UNUSED_* diagnostic in places
where it can be applied (destructured declarations/lambda parameters)

 #KT-14431 Fixed
This commit is contained in:
Denis Zharkov
2016-10-18 18:47:12 +03:00
parent 51f4244980
commit 5e1b219784
13 changed files with 180 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
// ACTION: Make 'Nested' internal
// ACTION: Make 'Nested' public
// ACTION: Remove parameter 'arg'
// ACTION: Rename to _
// ACTION: Convert to expression body
// ERROR: 'internal' function exposes its 'private' parameter type argument Nested
// ERROR: Cannot access 'Nested': it is private in 'Outer'