João Costa
João Costa
When running unit tests with scala native 0.4.4 on scala 3.1.1, I'm getting some segmentation faults on rare occasions: ``` [error] Fatal signal 11 caught [error] at scala.scalanative.testinterface.signalhandling.SignalConfig$.asyncSafePrintStackTrace(Unknown Source) [error]...
If we have the following resources: ``` a.txt folder/b.txt ``` And run the following code: ```scala object Main { def main(args: Array[String]): Unit = if (Option(this.getClass().getResourceAsStream("/a.txt")).isDefined) println("Loaded /a.txt") if (Option(this.getClass().getResourceAsStream("/folder/b.txt")).isDefined)...
Removes the Base64 encoding/decoding logic when embedding resources. I believe there was a misunderstanding in #2475 regarding the original idea proposed in #567 The [original message](https://github.com/scala-native/scala-native/issues/567#issuecomment-380032447) (emphasis mine) >An easy...
## Problem Turns out that the scala-native implementation of [Thread.sleep on windows](https://github.com/scala-native/scala-native/blob/main/javalib/src/main/scala/java/lang/impl/WindowsThread.scala) based on [`Sleep`](https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep) is kind of bad as by default it has a granularity of **10~15ms** (note that...
Adds the correct fallback fonts to the `typography.css`. This improves readibility for users who for some reason can't load the fonts (e.g. disabled JS/custom fonts on their browsers). WIthout this...
Among the multiple changes in #15697 the footer text stoped being configurable (defaulting to an EPFL copyright). This PR makes the footer text configurable again. Incidentally, this will also fix...
I think it's a bit odd that the documentation specifies "[...] several custom filters and tags specific to Scala[...]" and then doesn't mention anything about that. From what I can...
I believe that "Higher order" is usually translated to "Ordem superior" (e.g.: https://www.dcc.fc.up.pt/~sandra/Home/PF1819_files/aula6.pdf, http://wiki.di.uminho.pt/twiki/pub/Education/Archive/ProgramacaoFuncional/PF65-80.pdf). I also couldn't find any reference to "Função de Ordem Maior" on Google.
### Describe the bug When `lua function loadfile(filename) return loadstring(vim.fn.readfile(filename, 'B')) end` is defined, calling `:lua print(require'nvim-treesitter.utils'.get_package_path())` (this is currently the workaround recommended for windows users with non-ASCII names: https://github.com/neovim/neovim/issues/18122)...
Running the following scala-cli script with `scala-cli test --native .\NativeSpec.scala`: ```scala //> using scala "3.3.0" //> using lib "org.scalameta::munit::1.0.0-M8" import scala.concurrent.Future import scala.concurrent.ExecutionContext.Implicits.global class NativeSpec extends munit.FunSuite { test("repro") {...