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
+1 -2
View File
@@ -1,4 +1,3 @@
// TODO: remove kotlin_native.io once overrides are in place.
fun main(args : Array<String>) {
kotlin.io.print("Hello, world!")
println("Hello, world!")
}
+1 -1
View File
@@ -1,4 +1,4 @@
// TODO: remove kotlin_native.io once overrides are in place.
fun main(args : Array<String>) {
kotlin.io.print(kotlin.io.readLine())
print(readLine())
}
@@ -0,0 +1,3 @@
fun main(args : Array<String>) {
print(239)
}