Skip to content

Commit

Permalink
fixup pos/i15926
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed May 27, 2023
1 parent 42ac960 commit 00957b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pos/i15926.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ type Sum[X <: IntT, Y <: IntT] <: IntT = Y match
case Minus[x] => NatDif[Y, x]
case NatT => NatSum[X, Y]

type Negate[A] = A match
type Negate[A] <: IntT = A match
case Zero => Zero
case Succ[_] => Neg[A]
case Succ[_] => Minus[A]

0 comments on commit 00957b5

Please sign in to comment.