Do not report a warning on an inline function with a reified parameter

#KT-6273 Fixed
This commit is contained in:
Denis Zharkov
2014-11-20 12:39:48 +04:00
parent f7d1bc5931
commit 02be1063c1
11 changed files with 27 additions and 7 deletions
@@ -1,4 +1,4 @@
// !DIAGNOSTICS: -NOTHING_TO_INLINE -UNUSED_PARAMETER
// !DIAGNOSTICS: -UNUSED_PARAMETER
inline fun <reified T> f(): T = throw UnsupportedOperationException()