diff options
author | Martin Odersky <odersky@gmail.com> | 2013-08-10 23:12:16 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-08-10 23:12:16 +0200 |
commit | 775b2a1857290f5e83036148dbbfcdc3a29a12d2 (patch) | |
tree | afe3f69a6be42879a8b25590f84bb2bb2a2c251e /src/dotty/tools/dotc/ast/TreeInfo.scala | |
parent | 4b32ec471bafe988b64563aaabf2d273220a8644 (diff) | |
download | dotty-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.scala | 2 |
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 |