-
Consider the following code:
``` scala
import scalanative.native._
import stdio._
object App {
def main(args: Array[String]): Unit = {
val a = BigInt(1)
fprintf(stdout, c"bigint is: %d\n",…
-
In issue #413, I reported running the tutorial example (not demo) program and
getting no output. I am closing that issue and opening this one because I have
developed more specific information.
F…
-
Currently we extract those by pattern matching on shapes of calls in `GlobalBoxingElimination` but it would be way nicer to have them as first-class NIR ops. It would simplify a number of passes.
densh updated
7 years ago
-
For example this file, has plenty of trailing whitespace that is not detected:
https://github.com/scala-native/scala-native/blob/master/nativelib/src/main/scala/scala/scalanative/runtime/Arrays.scala…
densh updated
8 years ago
-
File source:
https://github.com/scala-native/scala-native/blob/master/tools/src/main/scala/scala/scalanative/linker/Classpath.scala
Build failure:
https://travis-ci.org/scala-native/scala-native/jobs…
densh updated
8 years ago
-
In previous versions of Scala Native, I successfully created a wrapper library without a main method, but now it fails with:
```
java.util.NoSuchElementException: None.get
at scala.None$.get(…
-
Following code
```
object Main {
def main(args: Array[String]): Unit = {
try {
5 / 0
} catch {
case err: Throwable =>
println("catched")
}
}
}
```
Emits invalid L…
densh updated
8 years ago
-
The following snippet executes successfully
``` scala
val arrInt = Array (1, 2)
arrInt.reverse
```
The following throws an exception:
``` scala
class A (i: Int)
val arrA = Array (n…
-
Just noticed that the Scala string interpolator doesn't work in Scala Native.
-
Compilation works fine but when I run the sample project it crashes with a segfault.
```
[info] Running /Users/lukaskellenberger/Developer/scala-native/sandbox/target/scala-2.11/sandbox-out
java.lan…