diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-05-09 21:33:19 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2015-05-09 21:33:19 +0200 |
commit | 37851350754403323b26c0c32417cbecc0c44584 (patch) | |
tree | f7269a8eb348a1d450117e7d71ede6afcb2aeff3 /src/dotty/tools/dotc/ast/CheckTrees.scala.disabled | |
parent | a1790ebc08d8498f86440cd0534343b11319fc6d (diff) | |
download | dotty-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.disabled | 2 |
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) |