Some work for string concatenation. (#40)

This commit is contained in:
Nikolay Igotti
2016-11-07 15:58:11 +03:00
committed by GitHub
parent 451ac00087
commit f06aeef9ce
9 changed files with 68 additions and 23 deletions
+8 -1
View File
@@ -26,7 +26,7 @@ abstract class KonanTest extends DefaultTask {
abstract void compileTest(File sourceS, File runtimeS, File out)
private File kt2bc(String ktSource) {
def sourceKt = project.file(ktSource)
def sourceBc = new File("${sourceKt.absolutePath}.bc")
@@ -167,6 +167,13 @@ task hello1(type: RunKonanTest) {
source = "runtime/basic/hello1.kt"
}
/* TODO: enable, once calling plus operator is implemented.
task hello2(type: RunKonanTest) {
goldValue = "Hello World"
testData = "Hello World"
source = "runtime/basic/hello2.kt"
} */
// TODO: waiting for boolean to be implemented
//task bool_yes(type: KonanTest) {
// source = "codegen/function/boolean.kt"
@@ -0,0 +1,4 @@
// TODO: remove kotlin_native.io once overrides are in place.
fun main(args : Array<String>) {
print("you entered '" + readLine() + "'")
}