FIR: Update test data (repeated diagnostics)
They are a bit redundant, but it needs additional work to be done to avoid them
This commit is contained in:
committed by
teamcityserver
parent
dbc0ebd861
commit
00821bbc63
+2
-2
@@ -12,7 +12,7 @@ fun ok(): Int {
|
||||
}
|
||||
|
||||
fun okOneLineFunction(): Int = 10 + 1
|
||||
fun errorOneLineFunction(): String = <!RETURN_TYPE_MISMATCH!>10 + 1<!>
|
||||
fun errorOneLineFunction(): String = <!RETURN_TYPE_MISMATCH, TYPE_MISMATCH!>10 + 1<!>
|
||||
|
||||
class A {
|
||||
fun bar() {}
|
||||
@@ -52,4 +52,4 @@ fun blockReturnValueTypeMatch2() : Int {
|
||||
if (1 > 2)
|
||||
else return <!RETURN_TYPE_MISMATCH!>1.0<!>
|
||||
return <!RETURN_TYPE_MISMATCH!>2.0<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user