Skip to content

Commit cc69d90

Browse files
dwijnandsjrd
andauthored
Align pos and neg test pair
Co-authored-by: Sébastien Doeraene <[email protected]>
1 parent ff90012 commit cc69d90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/neg/i17192.5.scala

Lines changed: 2 additions & 1 deletion
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)