Naming convention inspection: don't report for factory functions
#KT-20438 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
4f4db68a61
commit
d703284d01
@@ -15,3 +15,12 @@ class C : I {
|
||||
}
|
||||
|
||||
fun Vector3d(): Int = 42
|
||||
|
||||
interface D
|
||||
fun D(): D = object : D {}
|
||||
|
||||
interface E
|
||||
fun E() = object : E {}
|
||||
|
||||
typealias F = () -> String
|
||||
fun F(): F = { "" }
|
||||
|
||||
Reference in New Issue
Block a user