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
+4
View File
@@ -0,0 +1,4 @@
// this script expected parameter num: Int
val test = num + 10
System.out.println(test)
+2
View File
@@ -0,0 +1,2 @@
val num = 10 // check that we could declare property with the name as in the super class
System.out.println(num)