X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FJavaMethods.scl;h=a2b63f98ce1dce3a9883dae610884dc2e6460a93;hp=d51bd4bb8a464ede6289ab575a243f7eb2b4e0be;hb=HEAD;hpb=e67e00d01d30f362e7a4f599cbcf24770ce13e22 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/JavaMethods.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/JavaMethods.scl index d51bd4bb8..a2b63f98c 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/JavaMethods.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/JavaMethods.scl @@ -1,9 +1,9 @@ -import "JavaBuiltin" as Java - -importJava "java.lang.Integer" where - @JavaName "parseInt" - stringToInteger :: String -> Integer - -main = stringToInteger "13" --- +import "JavaBuiltin" as Java + +importJava "java.lang.Integer" where + @JavaName "parseInt" + stringToInteger :: String -> Integer + +main = stringToInteger "13" +-- 13 \ No newline at end of file