diff options
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 |