From e21d9b0a3907ee59b4d05489ecaf0fbf6467e27f Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 19 Sep 2011 15:48:23 +0000 Subject: Added tool for analyzing forwarder classes. If you build and then run tools/proxy-report you will be given files revealing interesting things like: /** With respect to trait SetLike, trait SetProxyLike does NOT wrap: */ trait Unwrapped { def +(elem1: A,elem2: A,elems: A*): This def ++(elems: scala.collection.GenTraversableOnce[A]): This def subsets(len: Int): Iterator[This] def subsets: Iterator[This] protected override def newBuilder: scala.collection.mutable.Builder[A,This] protected override def parCombiner: scala.collection.parallel.Combiner[A,scala.collection.parallel.ParSet[A]] } Lots more possible here, for now I just want to get a backstop against our worst transgressions (not just in the library -- look at SimpleTypeProxy, if you dare!) I will inquire about the results separately, so no review. --- tools/proxy-report | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 tools/proxy-report (limited to 'tools') diff --git a/tools/proxy-report b/tools/proxy-report new file mode 100755 index 0000000000..589803d6ea --- /dev/null +++ b/tools/proxy-report @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# + +$(dirname $BASH_SOURCE)/../build/pack/bin/scala scala.tools.nsc.util.ProxyReportRunner "$@" \ No newline at end of file -- cgit v1.2.3