Fix modifiers generation for companion objects

when language verion is 1.3

 #KT-23002: Fixed
This commit is contained in:
Ilmir Usmanov
2018-02-22 18:46:03 +03:00
parent 30314d43d9
commit 07ec704228
7 changed files with 47 additions and 3 deletions
@@ -0,0 +1,12 @@
// LANGUAGE_VERSION: 1.3
class Test {
private companion object {
val res = "OK"
}
fun res() = res
}
fun box(): String {
return Test().res()
}