Do not report "can be private" on effectively private / local elements

So #KT-18822 Fixed
This commit is contained in:
Toshiaki Kameyama
2017-07-28 13:44:58 +09:00
committed by Mikhail Glukhikh
parent 05ea99441f
commit be0b01a1e6
4 changed files with 119 additions and 47 deletions
@@ -16,7 +16,6 @@
package org.jetbrains.kotlin.descriptors
import org.jetbrains.kotlin.builtins.KotlinBuiltIns
import org.jetbrains.kotlin.resolve.DescriptorUtils
import org.jetbrains.kotlin.types.KotlinType
import org.jetbrains.kotlin.descriptors.EffectiveVisibility.*