Adriaan Moors

Results 29 issues of Adriaan Moors

Needs clarification: https://github.com/typelevel/cats/pull/2335#discussion_r205950655 "Only sealed abstract classes that provide implicit instances to companion objects are allowed here, since they don't affect usage outside of the file."

enhancement

When trying to attach a debugger to a runLocal run, I couldn't find a way to change the JVM options, which is my preferred way of launch a remote debugger...

kind/enhancement

```scala trait Cmp[T] { def compareTo(o: T): Int } class K[T] extends Cmp[K[_ >: T]] { def compareTo(that: K[_ >: T]): Int = ??? } object Tst { (new K[String]).compareTo(new...

compiler crash

# -Xsource:2.13 - case classes must have a non-implicit parameter list (https://github.com/scala/scala/pull/5585) - empty character literal (use '\\'' for single quote) (https://github.com/scala/scala/pull/5727) - Only methods can be marked `@elidable`. (https://github.com/scala/scala/pull/5539)...

Scala 3 will have a few syntax "tweaks" -- we should already provide warnings in the 2 series where possible. In general, I'm in favor of warning about things that...

dotty
syntax

isSameType does not correspond to isSubtype the way you'd expected. Specifically, the case for refined types looks wrong (though compact): ``` case (RefinedType(ps1, ds1), RefinedType(ps2, ds2)) => (ps1 corresponds ps2)(_...

In the context of build tools like bazel, act more like javac to hide transitive dependency (e.g. coding against interface, should not need to load impl.) based on hallway discussion...

I believe there was a framework by @axel22 that does this. Was it scalameter? See also http://docs.scala-lang.org/overviews/collections/performance-characteristics.html, which should be updated, rendered in the source and then enforced using automated...

t:performance
t:collections

@retronym says: > See code around `tupleClassConstructors` for the spot in the backend that could be extended to know about `Lazy*` to optimize the case of non-capturing local lazies to...

t:optimizer
t:performance

@retronym suggests we use https://community.oracle.com/blogs/forax/2011/12/17/jsr-292-goodness-almost-static-final-field to hide our instrumentation better from the JIT. A lot of compiler settings are constant `false` in most compiler runs, yet they must be checked...

t:optimizer