Do not force new line in body for empty functions and function expressions (KT-10828)
#KT-10828 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
268d55104c
commit
2841931ffa
@@ -1,11 +1,9 @@
|
||||
// ERROR: There's a cycle in the inheritance hierarchy for this type
|
||||
// ERROR: There's a cycle in the inheritance hierarchy for this type
|
||||
internal open class A : B() {
|
||||
open fun foo(s: String) {
|
||||
}
|
||||
open fun foo(s: String) {}
|
||||
}
|
||||
|
||||
internal open class B : A() {
|
||||
open fun foo(s: String) {
|
||||
}
|
||||
open fun foo(s: String) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user