diff options
author | Denys Shabalin <denys.shabalin@typesafe.com> | 2014-03-22 13:14:37 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-03-25 20:16:52 +0100 |
commit | 0bac64d64309e2f236ba25d8e57b1ea1f62d4d8c (patch) | |
tree | ce121f4a26af1a6ea84248770b4bf7b92a7a58cc /bincompat-backward.whitelist.conf | |
parent | c765537cb3532a7b88f1b68331840953f3e9d048 (diff) | |
download | scala-0bac64d64309e2f236ba25d8e57b1ea1f62d4d8c.tar.gz scala-0bac64d64309e2f236ba25d8e57b1ea1f62d4d8c.tar.bz2 scala-0bac64d64309e2f236ba25d8e57b1ea1f62d4d8c.zip |
SI-8388 consistently match type trees by originals
Due to the fact that all TypTrees are transformed into TypeTrees
during typechecking one couldn't treat typed type trees in the same
way as they treat untyped type trees.
This change implements support for pattern matching of TypeTrees as their
corresponding TypTree equivalent using tree preserved in the original.
The implementation itself is a trivial wrapping of regular TypTree
extractors into MaybeTypeTreeOriginal.
Diffstat (limited to 'bincompat-backward.whitelist.conf')
-rw-r--r-- | bincompat-backward.whitelist.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/bincompat-backward.whitelist.conf b/bincompat-backward.whitelist.conf index b799b17c21..703c5add42 100644 --- a/bincompat-backward.whitelist.conf +++ b/bincompat-backward.whitelist.conf @@ -144,6 +144,43 @@ filter { { matchName="scala.reflect.api.Mirror.weakTypeOf" problemName=MissingMethodProblem + }, + // see SI-8388 + { + matchName="scala.reflect.api.Internals$ReificationSupportApi$SyntacticIdentExtractor" + problemName=MissingClassProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticIdent" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticSingletonType" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticTermIdent" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticTypeIdent" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticCompoundType" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticAnnotatedType" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticTypeProjection" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.api.Internals#ReificationSupportApi.SyntacticExistentialType" + problemName=MissingMethodProblem } ] } |