AddThrowsAnnotationIntention: improve for mpp
#KT-38391 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
class FooException : Exception()
|
||||
|
||||
fun test() {
|
||||
<caret>throw FooException()
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
class FooException : Exception()
|
||||
|
||||
@Throws(FooException::class)
|
||||
fun test() {
|
||||
throw FooException()
|
||||
}
|
||||
Reference in New Issue
Block a user