From df877cb75dbeb39e3a39f0fa9c7b02e9530d3f0b Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 9 Mar 2020 08:29:05 +0100 Subject: [PATCH] Fix #7262: Add regression test --- tests/pos/i7262.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/pos/i7262.scala diff --git a/tests/pos/i7262.scala b/tests/pos/i7262.scala new file mode 100644 index 000000000000..d89dbcf64eea --- /dev/null +++ b/tests/pos/i7262.scala @@ -0,0 +1,6 @@ +import scala.quoted._ +class Foo { + def f[T](t: Type[T])(using QuoteContext) = t match { + case '[ Int *: Unit ] => + } +}