Do not generate properties for script parameters if there is template definition
This commit is contained in:
@@ -29,3 +29,5 @@ fun TestDSLInterface.fibCombine(f: (Int) -> Int, n: Int) = if (n < 2) 1 else f(n
|
||||
open class TestDSLClassWithParam(val offset: Int)
|
||||
|
||||
fun TestDSLClassWithParam.fibCombine(f: (Int) -> Int, n: Int) = if (n < 2) offset else f(n - 1) + f(n - 2)
|
||||
|
||||
open class TestClassWithOverridableProperty(open val num: Int)
|
||||
Reference in New Issue
Block a user