From 67d175f06db62e8af18851fc5694cfff2158d73b Mon Sep 17 00:00:00 2001 From: Denys Shabalin Date: Tue, 25 Feb 2014 12:36:27 +0100 Subject: SI-8331 make sure type select & applied type doesn't match terms Due to tree re-use it used to be the fact that type quasiquotes could match term trees. This commit makes sure selections and applied type and type applied are all non-overlapping between q and tq. --- bincompat-forward.whitelist.conf | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'bincompat-forward.whitelist.conf') diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf index 96994f8969..f9bd0441a2 100644 --- a/bincompat-forward.whitelist.conf +++ b/bincompat-forward.whitelist.conf @@ -4,8 +4,8 @@ filter { # "scala.concurrent.impl" # "scala.reflect.runtime" ] - // see SI-8372 problems=[ + // see SI-8372 { matchName="scala.collection.mutable.ArrayOps#ofChar.unzip" problemName=IncompatibleMethTypeProblem @@ -101,6 +101,35 @@ filter { { matchName="scala.collection.mutable.ArrayOps#ofDouble.unzip3" problemName=IncompatibleMethTypeProblem + }, + // see SI-8331 + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticSelectType" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticAppliedType" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticSelectTerm" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals$ReificationSupportApi$SyntacticSelectTermExtractor" + problemName=MissingClassProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi#SyntacticTypeAppliedExtractor.unapply" + problemName=IncompatibleResultTypeProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi#SyntacticTypeAppliedExtractor.unapply" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals$ReificationSupportApi$SyntacticSelectTypeExtractor" + problemName=MissingClassProblem } ] } -- cgit v1.2.3