[FIR] Enhance diagnostic DSL to be able to use concrete factories
Before this commit, things like DiagnosticFactory0<KtDeclaration> were effectively unusable.
This commit is contained in:
@@ -11,10 +11,10 @@ object A2 public constructor(private val prop: Int) {
|
||||
}
|
||||
|
||||
val x = object (val prop: Int) {
|
||||
<!CONSTRUCTOR_IN_OBJECT, CONSTRUCTOR_IN_OBJECT!>constructor() : <!UNRESOLVED_REFERENCE!>this<!>(1) {
|
||||
<!CONSTRUCTOR_IN_OBJECT, CONSTRUCTOR_IN_OBJECT!>constructor()<!> : <!UNRESOLVED_REFERENCE!>this<!>(1) {
|
||||
val x = 1
|
||||
x * x
|
||||
}<!>
|
||||
}
|
||||
}
|
||||
|
||||
class A3 {
|
||||
|
||||
Reference in New Issue
Block a user