diff options
Diffstat (limited to 'test/files/pos/virtpatmat_infer_single_1.scala')
-rw-r--r-- | test/files/pos/virtpatmat_infer_single_1.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/virtpatmat_infer_single_1.scala b/test/files/pos/virtpatmat_infer_single_1.scala new file mode 100644 index 0000000000..b42af956cc --- /dev/null +++ b/test/files/pos/virtpatmat_infer_single_1.scala @@ -0,0 +1,7 @@ +case class TypeBounds(a: Type, b: Type) +class Type { + def bounds: TypeBounds = bounds match { + case TypeBounds(_: this.type, _: this.type) => TypeBounds(this, this) + case oftp => oftp + } +}
\ No newline at end of file |