c1722350b6
- KtClassLikeSymbol.primaryConstructor was removed - Constructors were removed from getCallableMembers because constructors has no name (or special name `<init>`) and previous implementation was incorrect - KtScope.getAllSymbols returns constructors as before. Before it was like this because of the incorrect implementation of getCallableMembers - getConstructors has sence only for class scope, for the rest cases it is empty
9 lines
166 B
Kotlin
Vendored
9 lines
166 B
Kotlin
Vendored
// OnlySecondaryConstructors
|
|
|
|
class OnlySecondaryConstructors {
|
|
constructor(): super()
|
|
constructor(p: Int): this()
|
|
}
|
|
|
|
// LAZINESS:NoLaziness
|
|
// FIR_COMPARISON |