Skip to content

Commit a96c5a3

Browse files
committed
Add test for uncheckedVariance in hk types
1 parent af2a0e6 commit a96c5a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/pos/covaraint-opqaue.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import annotation.unchecked.uncheckedVariance
2+
3+
opaque type O[+T] = Array[T @uncheckedVariance]

0 commit comments

Comments
 (0)