Add overrides by name. (#54)

This commit is contained in:
Nikolay Igotti
2016-11-14 13:25:50 +03:00
committed by GitHub
parent 248d9ad2ef
commit ae5e838305
3 changed files with 77 additions and 6 deletions
+2 -3
View File
@@ -188,11 +188,10 @@ task hello2(type: RunKonanTest) {
source = "runtime/basic/hello2.kt"
}
/* TODO: enable, once can call toString() on Int.
task hello3(type: RunKonanTest) {
goldValue = "239"
goldValue = "239\ntrue\n3.14159\nA\n"
source = "runtime/basic/hello3.kt"
} */
}
task tostring0(type: RunKonanTest) {
goldValue = "127\n255\n239\nA\n1122334455\n112233445566778899\n1E+27\n1E-300\ntrue\nfalse\n"
+5 -1
View File
@@ -1,3 +1,7 @@
fun main(args : Array<String>) {
print(239)
println(239)
// TODO: enable, once override by name is implemented.
println(true)
println(3.14159)
println('A')
}