Skip to content

Commit 208c91a

Browse files
committed
Fix test cases
The test contained an error that was unvovered by the "Nothing is not Nullable" fix.
1 parent 6563917 commit 208c91a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pickling/hk.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ object higherKinded {
3131
}
3232

3333
class Ident[-T >: Untyped] extends Tree[T] {
34-
type ThisType[-U] = Ident[U]
34+
type ThisType[-U >: Untyped] = Ident[U]
3535
}
3636

3737
val id = new Ident[Integer]

tests/pos/hk.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ object higherKinded {
3131
}
3232

3333
class Ident[-T >: Untyped] extends Tree[T] {
34-
type ThisType[-U] = Ident[U]
34+
type ThisType[-U >: Untyped] = Ident[U]
3535
}
3636

3737
val id = new Ident[Integer]

0 commit comments

Comments
 (0)