Sébastien Doeraene

Results 643 comments of Sébastien Doeraene

FYI, I populated the proposal repo yesterday: https://github.com/WebAssembly/js-primitive-builtins There's a [PR pending](https://github.com/WebAssembly/proposals/pull/214) to add it to the main Proposals readme. Once that is merged, I will close this issue.

In order to scope this specific proposal, I chose to limit the proposed set of builtins to manipulate JS *primitives* (hence the name of the proposal). So although it would...

The proposal is now [listed in the Proposals repo](https://github.com/webassembly/proposals?tab=readme-ov-file#phase-1---feature-proposal-cg). I've been told that this is the right time to close this issue. Follow-up discussions should happen on [the JS Primitive...

That would definitely have user-visible consequences. For starters, type inference gets worse as soon as a method has overloads: you don't get expected types, so you don't get lambda param...

> But I have some concern that if we make changes, the behaviour could be different than that of Scala-native. That doesn't matter. The reference is the JVM implementation. Both...

The Jenkins CI jobs show the command that failed at the end of the log. In this case it seems the JVM test suite is failing: ``` Command was: sbt...

If the JVM implementation is in direct contradiction with its (latest) spec, it might be a bug on the JVM. Consider searching the [JDK bug database](https://bugs.openjdk.org/projects/JDK/issues/JDK-8329348?filter=allopenissues). However, recall that you...

> I get the feeling the JDK is quite open to interpretation (or implemented wrong or not updated often) 🤣 . This also does make me a little sad 😢...

It's not a blocker, but it should be documented as a JDK bug. See for example https://github.com/scala-js/scala-js/blob/ede4dc1f70b416a3d3a5d4c27b64608656e77525/test-suite/shared/src/test/scala/org/scalajs/testsuite/javalib/util/FormatterTest.scala#L1695-L1715 and https://github.com/scala-js/scala-js/blob/ede4dc1f70b416a3d3a5d4c27b64608656e77525/test-suite/shared/src/test/scala/org/scalajs/testsuite/javalib/util/FormatterTest.scala#L1899-L1910 for examples.