Do not generate properties for script parameters if there is template definition

This commit is contained in:
Mikhail Zarechenskiy
2016-08-02 16:22:37 +03:00
parent e4226fbe48
commit 7679e49b25
6 changed files with 68 additions and 13 deletions
@@ -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)