From ce09b9a465dc930c7dec02b5effb3a74dbae698e Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 30 Jul 2019 21:46:57 +0200 Subject: [PATCH] Remove checkfile to pass Java 11 tests The ClassCastException has a slighly different error message under Java 11. --- tests/neg/i6530.check | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/neg/i6530.check diff --git a/tests/neg/i6530.check b/tests/neg/i6530.check deleted file mode 100644 index 02f77c1a97b7..000000000000 --- a/tests/neg/i6530.check +++ /dev/null @@ -1,13 +0,0 @@ --- [E007] Type Mismatch Error: tests/neg/i6530.scala:2:26 -------------------------------------------------------------- -2 | inline def q : Int = ${ '[ Int ] } // error - | ^^^^^^^^ - | Found: quoted.Type[Int] - | Required: quoted.Expr[Int] --- Error: tests/neg/i6530.scala:3:20 ----------------------------------------------------------------------------------- -3 | val x : Int = 1 + q // error - | ^ - |Failed to evaluate macro. - | Caused by class java.lang.ClassCastException: scala.internal.quoted.TreeType cannot be cast to scala.quoted.Expr - | - | - | This location is in code that was inlined at i6530.scala:3