Skip to content

Commit

Permalink
Fix PlusTri in pos/13633
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Feb 27, 2024
1 parent 55ecbfc commit 3419aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pos/13633.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object Sums extends App:

type Reverse[A] = ReverseLoop[A, EmptyTuple]

type PlusTri[A, B, C] = (A, B, C) match
type PlusTri[A, B, C] <: Tuple = (A, B, C) match
case (false, false, false) => (false, false)
case (true, false, false) | (false, true, false) | (false, false, true) => (false, true)
case (true, true, false) | (true, false, true) | (false, true, true) => (true, false)
Expand Down

0 comments on commit 3419aae

Please sign in to comment.