Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Shouldn't warn unused param for proof #17

Open
tanishiking opened this issue Aug 7, 2021 · 0 comments
Open

Shouldn't warn unused param for proof #17

tanishiking opened this issue Aug 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@tanishiking
Copy link
Owner

Minimal Reproducible code

trait Proofs {
  def f[A, B](implicit ev: A =:= B) = 42
  def g[A, B](implicit ev: A <:< B) = 42
  def f2[A, B](ev: A =:= B) = 42
  def g2[A, B](ev: A <:< B) = 42
}

Expected behavior

Maybe we should suppress error if the type contains something like =:=

@tanishiking tanishiking added the enhancement New feature or request label Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant