diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-10 00:35:22 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-10 00:35:22 +0000 |
commit | 8e8518864fb776e43a2c4cfb0b4117ce4e4e0754 (patch) | |
tree | d3f32cc03a1577a809af77906d7097fb41cabaaa /src/compiler/scala/reflect/internal/SymbolTable.scala | |
parent | cbf8534ff7a04603e7c47c0a2422c012ddd44810 (diff) | |
download | scala-8e8518864fb776e43a2c4cfb0b4117ce4e4e0754.tar.gz scala-8e8518864fb776e43a2c4cfb0b4117ce4e4e0754.tar.bz2 scala-8e8518864fb776e43a2c4cfb0b4117ce4e4e0754.zip |
Method to zip value params and args.
I had all the variations of zip/zipped start logging when they being
were given differently lengthed arguments, to find out what all we might
be throwing away. This uncovered at least one bug with free variable
identification, fixed herein, and also solidifed my belief that we
should have a lot less ad hoc zipping of things. No review.
Diffstat (limited to 'src/compiler/scala/reflect/internal/SymbolTable.scala')
-rw-r--r-- | src/compiler/scala/reflect/internal/SymbolTable.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/internal/SymbolTable.scala b/src/compiler/scala/reflect/internal/SymbolTable.scala index c54b1c43b2..a7592cc81b 100644 --- a/src/compiler/scala/reflect/internal/SymbolTable.scala +++ b/src/compiler/scala/reflect/internal/SymbolTable.scala @@ -33,7 +33,8 @@ abstract class SymbolTable extends api.Universe def abort(): Nothing = throw new Error() /** Override with final implementation for inlining. */ - def debuglog(msg: => String): Unit = if (settings.debug.value) log(msg) + def debuglog(msg: => String): Unit = if (settings.debug.value) log(msg) + def debugwarn(msg: => String): Unit = if (settings.debug.value) Console.println(msg) /** Are we compiling for Java SE? */ // def forJVM: Boolean |