aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/CheckTrees.scala.disabled
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/ast/CheckTrees.scala.disabled
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/ast/CheckTrees.scala.disabled')
-rw-r--r--src/dotty/tools/dotc/ast/CheckTrees.scala.disabled2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/CheckTrees.scala.disabled b/src/dotty/tools/dotc/ast/CheckTrees.scala.disabled
index 254f002c1..255619f35 100644
--- a/src/dotty/tools/dotc/ast/CheckTrees.scala.disabled
+++ b/src/dotty/tools/dotc/ast/CheckTrees.scala.disabled
@@ -131,7 +131,7 @@ object CheckTrees {
check(guard.tpe.derivesFrom(defn.BooleanClass))
case Return(expr, from) =>
check(expr.isValue); check(from.isTerm)
- check(from.tpe.termSymbol.isSourceMethod)
+ check(from.tpe.termSymbol.isRealMethod)
case Try(block, handler, finalizer) =>
check(block.isTerm)
check(finalizer.isTerm)