mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Correctly apply SAM conversions in superclass constructor calls
#KT-5452 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class JavaClass {
|
||||
JavaClass(Runnable r) {
|
||||
if (r != null) r.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user