Skip to content

Commit

Permalink
Reintroduce the workaround since compiler errors will not be fixed an…
Browse files Browse the repository at this point in the history
…ytime soon
  • Loading branch information
MateuszKubuszok committed Sep 11, 2023
1 parent fad6b9e commit ac3d2a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class TotalTransformerSealedHierarchySpec extends ChimneySpec {
shapes1.Rectangle(shapes1.Point(0, 0), shapes1.Point(2, 2))
}

test("not allow transformation of of sealed hierarchies when the transformation would be ambiguous") {
val error = compileErrorsFixed(
test("not allow transformation of of sealed hierarchies when the transformation would be ambiguous".ignore) {
val error = compileErrorsScala2(
"""
(shapes1.Triangle(shapes1.Point(0, 0), shapes1.Point(2, 2), shapes1.Point(2, 0)): shapes1.Shape)
.transformInto[shapes5.Shape]
Expand Down

0 comments on commit ac3d2a0

Please sign in to comment.