som-snytt
som-snytt
Maybe there is a naming convention to indicate a preference for: - status quo (arbitrary sequences) - multiset result - filter of current sequence (so if I want 2x, 1y,...
This PR follows up two issues: - a [comment](https://github.com/scala/scala/pull/9100#issuecomment-703740710) that `Array.equals(xs, ys)` is not convenient to use, as documented in the linked PR. - an [issue](https://github.com/scala/bug/issues/10216) that `toHexString` sign-extends bytes...
Exercise in `-Xsource:3-cross`. ~Not sure if~ it needs to stay on 3.3.3 LTS. Scala 2 needs `uninitialized`. Scala 3 needs `inline` `tap`. Scala 2 could support `import chaining.given` directly, though...
This transfers https://github.com/scala/bug/issues/10821 Take ``` case head @ P(x) :: Nil => ``` as ``` case (head @ P(x)) :: Nil => ``` instead of as ``` case head @...
I'd like to export a member with rename, in the manner of `@targetName`. ``` object Stuff: def f = ??? export this.{f => g} ``` I'd like to export an...
Instead of anticipating many possible ways indentation processing may not match expectation, it would be nice to have a way to lint indentation. `-Xlint:dentation`. That could be a plug-in that...
`-Vphases` optionally takes a list of phase names to highlight in the output. `-Vprint` optionally takes a list of phase names for printing, and defaults to `typer`. Add plugins and...
```Scala Welcome to Scala 3.3.1-RC1-bin-SNAPSHOT-git-5262680 (20.0.1, Java OpenJDK 64-Bit Server VM). Type in expressions for evaluation. Or try :help. scala> final val x = 42 -- [E088] Syntax Error: ------------------------------------------------------------------------------------------------...
`-Xsource-features:case-copy-by-name` synthesizes case copy method when a parameter is by-name. Fixes scala/bug#7879
Fixes scala/bug#12984 Fixes https://github.com/scala/bug/issues/12664 Instead of adding wconf for deprecation when setting is selected, adjust the default filter. This ensures that user config is respected in this respect. Otherwise, subtle...