Corey Woodfield

Results 11 issues of Corey Woodfield

Expected: `ValueEnumEntry` implementations compile if they have a literal `value` parameter. Actual: `ValueEnumEntry` implementations with multiple parameter lists sometimes don't compile even when they have a literal `value` parameter Example...

help wanted

I'm interested in silencing a certain class of warnings, but only in certain directories. Is it currently possible to do this?

The example [here](https://docs.scala-lang.org/scala3/reference/metaprogramming/reflection.html#tree-utilities) is as follows: ``` def collectPatternVariables(tree: Tree)(using ctx: Context): List[Symbol] = val acc = new TreeAccumulator[List[Symbol]]: def foldTree(syms: List[Symbol], tree: Tree)(owner: Symbol): List[Symbol] = tree match case...

scala-3

Preface: I'm not sure if this is a change you would actually want. If you don't, that's fine, we can just use our fork. Preface 2: This needs the changes...

## Reproduction steps Scala version: 2.13.12 In Test.scala: ```scala trait Trait { def foo: Any } class Test extends Trait{ case object `val` override def foo = `val` } ```...

## Reproduction steps Scala version: 2.13.12 In Test.scala ```scala trait Trait object Object { object Implementation extends Trait } trait Trait2 { def foo: Trait } class Test { object...

## Reproduction steps Scala version: 2.13.13 ```scala object Bar extends Cloneable { def f: Unit = {} } ``` ```sh $ scalac Test.scala -Xlint -Wconf:any:error Test.scala:1: warning: object Bar should...

has PR

Take the following example file: ```scala class Test { def foo = 1 /* scalafix:ok */ } ``` Suppose that the `/* scalafix:ok */` is unneeded, i.e. it is not...

I have discovered that sometimes, suppression comments suppress more than they are (ostensibly) intended to suppress. Consider the following simple scalafix rule that simply disallows the use of the name...

## Compiler version 3.5.1 ## Minimized code ```Scala case class A(a: Int) def foo(f: ((Ordering[A], Any)) ?=> Unit) = () // compiles: parameter untupling occurs for the ContextFunction foo {...

itype:bug
area:implicits