A test for JET-55 Bogus overload ambiguity trying to call Exception.getMessage()
This commit is contained in:
@@ -26,4 +26,12 @@ fun test(l : java.util.List<Int>) {
|
|||||||
// Collections.sort<Integer>(new ArrayList<Integer>())
|
// Collections.sort<Integer>(new ArrayList<Integer>())
|
||||||
|
|
||||||
val o = "sdf" <warning>as</warning> Object
|
val o = "sdf" <warning>as</warning> Object
|
||||||
|
|
||||||
|
try {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
catch(e: Exception) {
|
||||||
|
System.out?.println(e.getMessage())
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user