diff options
Diffstat (limited to 'test/files/pos/t6022.scala')
-rw-r--r-- | test/files/pos/t6022.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t6022.scala b/test/files/pos/t6022.scala new file mode 100644 index 0000000000..522c3352c7 --- /dev/null +++ b/test/files/pos/t6022.scala @@ -0,0 +1,7 @@ +class Test { + (null: Any) match { + case x: AnyRef if false => + case list: Option[_] => + case product: Product => // change Product to String and it's all good + } +}
\ No newline at end of file |