Sébastien Doeraene
Sébastien Doeraene
The culprits are https://github.com/lampepfl/dotty/blob/c99f6caa74e74a67dd42e8df6ede53c29cd7fce9/compiler/src/dotty/tools/dotc/transform/Memoize.scala#L151-L154 and https://github.com/lampepfl/dotty/blob/c99f6caa74e74a67dd42e8df6ede53c29cd7fce9/compiler/src/dotty/tools/dotc/transform/Memoize.scala#L162 They should not apply to members of non-native JS classes.
Both cases are also problematic for `@JSExportTopLevel` vals and vars.
IIUC, this is about the following pattern: ```scala private var myAssignmentSpans: Map[Int, List[Span]] | Null = null def assignmentSpans(using Context): Map[Int, List[Span]] = if myAssignmentSpans == null then myAssignmentSpans =...
> Gadt constraints are too weak in the sense that they come into play only for subtyping. Right, but nothing says we have to follow the model of Gadt constraints...
Rebased to address conflicts in the checksizes.
Superseded by #4711.
> I'm not sure, but it seems to me that part of your wish for a "stable" version may originate from the coursier website not being updated recently (it had...
(on Windows) OK, so, trying any combination `cs update something`, including with `cs` being the newest installer, did *not* update `cs` to the latest milestone, even I explicitly specified it....
`Linker.link` will link and produce a new .js file every time you call it. That's its contract. It will probably do stuff internally to maintain an incremental state (if you're...