Allow to use "static" part of class in own constructors by short name, including in primary constructor
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
interface I
|
||||
|
||||
class A : I by impl {
|
||||
|
||||
companion object {
|
||||
val impl = object : I {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user