Skip to content

Commit 0771abd

Browse files
dwijnandsjrd
authored andcommitted
Align pos and neg test pair
Co-authored-by: Sébastien Doeraene <[email protected]> [Cherry-picked cc69d90]
1 parent 0ce0955 commit 0771abd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/neg/i17192.5.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class Ifce[BT <: Boolean]:
22
type RT = BT match
3-
case true => this.type { val v1: Int }
3+
case true => this.type { val v1: Int }
4+
case false => this.type
45
def cast: RT = this.asInstanceOf[RT]
56

67
class Test:

0 commit comments

Comments
 (0)