Added inline annotation check on local funs

This commit is contained in:
Michael Bogdanov
2014-10-10 13:42:10 +04:00
parent 2a1520228e
commit 605c9f48b4
21 changed files with 104 additions and 48 deletions
@@ -6,9 +6,8 @@ public fun test() {
}
}
[inline] fun localFun2() {
<!NOT_YET_SUPPORTED_IN_INLINE!>[inline] fun localFun2() {
Z().localFun()
}
}
}<!>
}
@@ -4,8 +4,8 @@ public fun test() {
}
[inline] fun localFun2() {
<!NOT_YET_SUPPORTED_IN_INLINE!>[inline] fun localFun2() {
localFun()
}
}<!>
}