Fix generation of companion object inside inline classes

This commit is contained in:
Mikhail Zarechenskiy
2018-02-06 14:33:14 +03:00
parent e1d3b21201
commit 70cd1cfcdf
5 changed files with 47 additions and 15 deletions
@@ -0,0 +1,11 @@
// !LANGUAGE: +InlineClasses
inline class Foo(val x: Int) {
companion object {
fun funInCompanion() {}
private const val constValInCompanion = 1
}
fun inInlineClass() {}
}