aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/TreeInfo.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-08-10 23:12:16 +0200
committerMartin Odersky <odersky@gmail.com>2013-08-10 23:12:16 +0200
commit775b2a1857290f5e83036148dbbfcdc3a29a12d2 (patch)
treeafe3f69a6be42879a8b25590f84bb2bb2a2c251e /src/dotty/tools/dotc/ast/TreeInfo.scala
parent4b32ec471bafe988b64563aaabf2d273220a8644 (diff)
downloaddotty-775b2a1857290f5e83036148dbbfcdc3a29a12d2.tar.gz
dotty-775b2a1857290f5e83036148dbbfcdc3a29a12d2.tar.bz2
dotty-775b2a1857290f5e83036148dbbfcdc3a29a12d2.zip
Finished rest of typer.
Diffstat (limited to 'src/dotty/tools/dotc/ast/TreeInfo.scala')
-rw-r--r--src/dotty/tools/dotc/ast/TreeInfo.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala
index 2c38d2c62..4dba38e0e 100644
--- a/src/dotty/tools/dotc/ast/TreeInfo.scala
+++ b/src/dotty/tools/dotc/ast/TreeInfo.scala
@@ -112,7 +112,7 @@ trait TreeInfo[T >: Untyped] { self: Trees.Instance[T] =>
}
/** Is tree a variable pattern? */
- def isVarPattern(pat: Tree): Boolean = pat match {
+ def isVarPattern(pat: untpd.Tree): Boolean = pat match {
case x: BackquotedIdent => false
case x: Ident => x.name.isVariableName
case _ => false