Sébastien Doeraene
Sébastien Doeraene
Have we considered removing `productPrefix` from the `hashCode` computation instead? Should we perhaps use a "hard-coded" seed instead (computed at compile-time from the hash code of the full class name,...
I don't think that's a problem. Case classes don't compare equal to other `Product`s with the same elements.
The approach here, at the language and linker level, doesn't know about WASI. We only manipulate the component model. Exactly how Scala.js today doesn't know about the DOM. So this...
I attended the June 2024 hybrid Wasm CG meeting, which happened this week. Among others, we received an update on WASI and the component model. From that update, it seems...
> **Conditional Linking**: Introduce a link-time condition or mechanism to allow libraries to switch their implementation based on whether the target is JavaScript Wasm or standalone Wasm. To put into...
I'm not sure about magically turning an `if` into a `LinkTimeIf` depending on some non-local information. That would be quite brittle, as there would no compile-time reporting if something that...
> `linktimeIf` should generate the same code as the `innerImpl = InnerArrayImpl.JSArrayImpl`. I managed to get this to happen by changing `genApplyTypeApply` in `GenJSCode.scala` to ```scala private def genApplyTypeApply(tree: Apply,...
> if not fix the root cause Fixing the root cause is easier said than done. The compiler is pretty good at incremental compilation. But there *are* bugs that are...
> Instead of humans issuing `clean` command sequentially, what I would suggest if we can't compile Scala 3 incrementally is to provide an option to turn off Zinc via setting,...
I'm afraid I'm not familiar with type inference details. I only have a good grasp of the *type system* (once inferred). From cursory inspection I don't see why inference should...