Minor: fix infix extension after parameter renamed
This commit is contained in:
@@ -426,7 +426,7 @@ class GenericFunction(val signature: String, val keyword: String = "fun") {
|
||||
}
|
||||
|
||||
infix fun MutableList<GenericFunction>.add(item: GenericFunction) = add(item)
|
||||
infix fun MutableList<GenericFunction>.addAll(items: Iterable<GenericFunction>) = this.addAll(iterable = items)
|
||||
infix fun MutableList<GenericFunction>.addAll(items: Iterable<GenericFunction>) = this.addAll(elements = items)
|
||||
|
||||
fun f(signature: String, init: GenericFunction.() -> Unit) = GenericFunction(signature).apply(init)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user