Inline test: check that no any inline method is called directly

This commit is contained in:
Mikhael Bogdanov
2014-03-28 13:22:38 +04:00
parent 0d239a3e0e
commit 5b5ecca12a
8 changed files with 314 additions and 107 deletions
@@ -3,7 +3,8 @@ package test
enum class MyEnum {
K;
inline fun <T> doSmth(a: T) : String {
//TODO: KT-4693
[inline] fun <T> doSmth(a: T) : String {
return a.toString() + K.name()
}
}