Unify script file extensions to "kts" so that IDEA, compiler and tests agree when to parse as SCRIPT.

Include kt* files into formatter test generation, to test scripting formatting
This commit is contained in:
Ilya Ryzhenkov
2014-03-19 11:14:03 +04:00
committed by Andrey Breslav
parent 4ba423ee16
commit 98c54f39bb
49 changed files with 58 additions and 52 deletions
@@ -0,0 +1,11 @@
// expected: rv: 3628800
fun factorial(n: Int): Int {
var product = 1
for (i in 1..n) {
product *= i
}
return product
}
factorial(10)