FIR: support delegated types in secondary constructors

So #KT-24088 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-04-13 11:46:31 +03:00
parent c06b0efdfa
commit dadc028884
3 changed files with 64 additions and 22 deletions
@@ -3,9 +3,9 @@ FILE: noPrimaryConstructor.kt
public? final? property x(val): String
public? get(): String
public? constructor(x: String): this<<ERROR TYPE: Not implemented yet>>() {
public? constructor(x: String): super<kotlin.Any>() {
}
public? constructor(): this<<ERROR TYPE: Not implemented yet>>()
public? constructor(): this<NoPrimary>()
}
+1 -1
View File
@@ -23,7 +23,7 @@ FILE: Annotations.kt
STUB
}
@R|annotations/WithString|(STUB) public? constructor(): this<R|error: Not implemented yet|>()
@R|annotations/WithString|(STUB) public? constructor(): this<R|test/Second|>()
}
@R|annotations/WithInt|(STUB) @R|annotations/WithInt|(STUB) public? final typealias Third = @R|annotations/Simple|() R|test/Second|