AnalyzerExtension refactoring, added support for inline properties

This commit is contained in:
Mikhael Bogdanov
2016-06-23 16:03:16 +03:00
parent 7baf70e8fa
commit 321e97a329
13 changed files with 232 additions and 29 deletions
@@ -0,0 +1,20 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE
inline val z: Int
get() {
<!NOT_YET_SUPPORTED_IN_INLINE!>class A {
fun a() {
class AInner {}
}
}<!>
<!LOCAL_OBJECT_NOT_ALLOWED!>object B<!>{
<!LOCAL_OBJECT_NOT_ALLOWED!>object BInner<!> {}
}
<!NOT_YET_SUPPORTED_IN_INLINE!>fun local() {
fun localInner() {}
}<!>
return 1
}