Skip to content

Commit

Permalink
Fix 1106 (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnynek authored Feb 15, 2024
1 parent f48ff56 commit ce1ffdd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/test/scala/org/bykn/bosatsu/TotalityTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -501,14 +501,7 @@ enum Either: Left(l), Right(r)
}

override def missingBranchesIfAddedRegressions: List[List[Pat]] = {
// these are ill typed because the first pattern matches type
// List[String] but the second matches List[List[String]]
/*
val r1 @ (_ :: _ :: _) = patterns("""[[*foo, "$.{_}", "1"], [[_, *_]]]""")
patterns("""[[*foo, "$.{_}", "$.{_}"], [[b, *_]]]""") ::
r1 ::
*/
Nil
}

Expand Down

0 comments on commit ce1ffdd

Please sign in to comment.