diff options
Diffstat (limited to 'test/files/pos/t8369a.scala')
-rw-r--r-- | test/files/pos/t8369a.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t8369a.scala b/test/files/pos/t8369a.scala new file mode 100644 index 0000000000..0596fdaf74 --- /dev/null +++ b/test/files/pos/t8369a.scala @@ -0,0 +1,5 @@ +object Bug { + trait Sys[S] + def test[S <: Sys[S]] = read[S]() + def read[S <: Sys[S]](baz: Any = 0): Some[S] = ??? +}
\ No newline at end of file |