aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-16 22:00:16 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-16 22:00:40 +0100
commitbf59937182b66d12d01c11ff5dd27346ee4a9db4 (patch)
treeda1aa5ce95b86aa9b17cd3911ef97698c5fa5f40 /src/dotty/tools/dotc/typer/Typer.scala
parentd00c3f5e7925cd246fb10916f6a2d26111ac2689 (diff)
downloaddotty-bf59937182b66d12d01c11ff5dd27346ee4a9db4.tar.gz
dotty-bf59937182b66d12d01c11ff5dd27346ee4a9db4.tar.bz2
dotty-bf59937182b66d12d01c11ff5dd27346ee4a9db4.zip
Refactoring to avoid multiple overloaded traceIndent methods.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Typer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala
index d35e5fa93..c1e771f16 100644
--- a/src/dotty/tools/dotc/typer/Typer.scala
+++ b/src/dotty/tools/dotc/typer/Typer.scala
@@ -663,7 +663,7 @@ class Typer extends Namer with Applications with Implicits {
* which appear with variances +1 and -1 (in different
* places) be considered as well?
*/
- val gadtSyms: Set[Symbol] = ctx.traceIndented(gadts, i"GADT syms of $selType") {
+ val gadtSyms: Set[Symbol] = ctx.traceIndented(i"GADT syms of $selType", gadts) {
val accu = new TypeAccumulator[Set[Symbol]] {
def apply(tsyms: Set[Symbol], t: Type): Set[Symbol] = {
val tsyms1 = t match {