From 8e06bf783301638b7adc4dffc96d63cec4ea65f9 Mon Sep 17 00:00:00 2001 From: Aggelos Biboudis Date: Thu, 7 Mar 2019 15:36:26 +0100 Subject: [PATCH] Fix #6008: Add test --- tests/pos/i6008.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/pos/i6008.scala diff --git a/tests/pos/i6008.scala b/tests/pos/i6008.scala new file mode 100644 index 000000000000..0dc48739776b --- /dev/null +++ b/tests/pos/i6008.scala @@ -0,0 +1,6 @@ +import scala.quoted._ + +class C { + type T = Int + def fn(e : Expr[T]) : Expr[T] = '{ $e } +} \ No newline at end of file