aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Checking.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-05-09 21:33:19 +0200
committerGuillaume Martres <smarter@ubuntu.com>2015-05-09 21:33:19 +0200
commit37851350754403323b26c0c32417cbecc0c44584 (patch)
treef7269a8eb348a1d450117e7d71ede6afcb2aeff3 /src/dotty/tools/dotc/typer/Checking.scala
parenta1790ebc08d8498f86440cd0534343b11319fc6d (diff)
downloaddotty-37851350754403323b26c0c32417cbecc0c44584.tar.gz
dotty-37851350754403323b26c0c32417cbecc0c44584.tar.bz2
dotty-37851350754403323b26c0c32417cbecc0c44584.zip
rename isSourceMethod to isRealMethod, the previous name was inaccurate
Diffstat (limited to 'src/dotty/tools/dotc/typer/Checking.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Checking.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Checking.scala b/src/dotty/tools/dotc/typer/Checking.scala
index 148e31885..ffb74839d 100644
--- a/src/dotty/tools/dotc/typer/Checking.scala
+++ b/src/dotty/tools/dotc/typer/Checking.scala
@@ -312,7 +312,7 @@ trait Checking {
def doubleDefError(decl: Symbol, other: Symbol): Unit = {
def ofType = if (decl.isType) "" else d": ${other.info}"
def explanation =
- if (!decl.isSourceMethod) ""
+ if (!decl.isRealMethod) ""
else "\n (both definitions have the same erased type signature)"
ctx.error(d"$decl is already defined as $other$ofType$explanation", decl.pos)
}