Add more console operations, nicer naming in natives. (#46)

This commit is contained in:
Nikolay Igotti
2016-11-08 17:38:36 +03:00
committed by GitHub
parent 5b7d0257e8
commit 91035b692b
8 changed files with 75 additions and 39 deletions
+7 -1
View File
@@ -153,7 +153,7 @@ task local_variable(type: UnitKonanTest) {
}
task hello0(type: RunKonanTest) {
goldValue = "Hello, world!"
goldValue = "Hello, world!\n"
source = "runtime/basic/hello0.kt"
}
@@ -170,6 +170,12 @@ task hello2(type: RunKonanTest) {
source = "runtime/basic/hello2.kt"
} */
/* TODO: enable, once can call toString() on Int.
task hello3(type: RunKonanTest) {
goldValue = "239"
source = "runtime/basic/hello3.kt"
} */
task if_else(type: UnitKonanTest) {
source = "codegen/branching/if_else.kt"
}