Quickfix for RETURN_TYPE_MISMATCH and NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY

This commit is contained in:
Wojciech Lopata
2013-04-24 11:32:33 +02:00
parent dde4260d10
commit 893cbd6b48
9 changed files with 52 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Remove explicitly specified function return type" "true"
fun () {
return<caret>
}
@@ -0,0 +1,3 @@
// "Remove explicitly specified return type in 'foo' function" "true"
fun foo() {
<caret>}
@@ -0,0 +1,4 @@
// "Remove explicitly specified return type in 'foo' function" "true"
fun foo() {
return<caret>
}
@@ -0,0 +1,4 @@
// "Remove explicitly specified function return type" "true"
fun (): Int {
return<caret>
}
@@ -0,0 +1,3 @@
// "Remove explicitly specified return type in 'foo' function" "true"
fun foo(): Int {
<caret>}
@@ -0,0 +1,4 @@
// "Remove explicitly specified return type in 'foo' function" "true"
fun foo(): Int {
return<caret>
}