Skip to content

Commit 8ae1b19

Browse files
committed
Fix #4820: add test
The code no longer type checks after #5027.
1 parent 6e03640 commit 8ae1b19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/neg/i4820.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class Foo[A]
2+
class Bar[A] extends Foo // error

0 commit comments

Comments
 (0)