Fix builder inference tests

This commit is contained in:
Victor Petukhov
2021-05-26 17:54:28 +03:00
parent 4a767c597e
commit bd7fb56a24
25 changed files with 78 additions and 124 deletions
@@ -84,9 +84,9 @@ fun case3() {
try {
throwExceptionA(false)
A(2)
} catch (e: ExcA) <!TYPE_MISMATCH, TYPE_MISMATCH!>{
} catch (e: ExcA) <!TYPE_MISMATCH!>{
A(<!NULL_FOR_NONNULL_TYPE!>null<!>) //diag duplication
}<!> catch (e: ExcB) <!TYPE_MISMATCH, TYPE_MISMATCH!>{
}<!> catch (e: ExcB) <!TYPE_MISMATCH!>{
B(<!NULL_FOR_NONNULL_TYPE!>null<!>) //diag duplication
}<!>
}