KT-24515 Intention to add an exception under the cursor to @Throws annotations

This commit is contained in:
Toshiaki Kameyama
2018-11-05 20:25:00 +09:00
committed by Yan Zhulanow
parent 3918ec71be
commit a621171d9b
48 changed files with 623 additions and 0 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
class Test {
@Throws(RuntimeException::class)
fun a() {
throw myError()
}
}
fun myError() = RuntimeException()