Prohibit inline modifier on property, getter or setter

This commit is contained in:
Alexey Tsvetkov
2015-10-17 00:43:37 +03:00
parent 7a1b6ed13f
commit c459e78a7d
5 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ inline public fun myArrayList<T>(vararg values: T): ArrayList<T> {
return c
}
inline public val <T> ArrayList<T>.myHead: T
public val <T> ArrayList<T>.myHead: T
get() {
return get(0)
}