Support generating computable properties inside inline classes

This commit is contained in:
Mikhail Zarechenskiy
2018-02-06 16:52:52 +03:00
parent 47aeeb36e4
commit 30c79ffadc
10 changed files with 88 additions and 3 deletions
@@ -0,0 +1,6 @@
// !LANGUAGE: +InlineClasses
inline class Foo(val x: Int) {
val prop: Int get() = 1
val asThis: Foo get() = this
}