Do not suggest "can be private" for elements with given annotations

So #KT-19272 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-07-31 14:42:56 +03:00
parent c5a81691fb
commit 87cdc7635a
4 changed files with 15 additions and 1 deletions
@@ -0,0 +1,3 @@
package test.anno
public annotation class EntryPoint
@@ -205,3 +205,7 @@ fun withLocal(): Int {
val local = Local(42)
return local.res()
}
class Math {
@test.anno.EntryPoint fun fact(n: Int) = if (n < 2) 1 else n * fact(n - 1)
}