diff options
Diffstat (limited to 'test/files/pos/bug1560.scala')
-rw-r--r-- | test/files/pos/bug1560.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug1560.scala b/test/files/pos/bug1560.scala new file mode 100644 index 0000000000..700252328f --- /dev/null +++ b/test/files/pos/bug1560.scala @@ -0,0 +1,11 @@ +object Test extends Application { + trait C[T] { + def t: T + } + + def b: Option[C[_]] = null + + def c = b match { + case Some(b) => b.t + } +}
\ No newline at end of file |