Report exposed type for properties in class primary constructor

Before this commit, we compared property visibility with constructor
visibility only, which is incorrect. Now we compare property visibility
also with class visibility

#KT-19613 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-11-06 17:52:48 +03:00
parent f160eabaf6
commit b3857e85e0
14 changed files with 200 additions and 10 deletions
@@ -0,0 +1,3 @@
private enum class Foo { A, B }
class Bar(<!EXPOSED_PARAMETER_TYPE!>val foo: Foo<!>)