diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-31 19:01:10 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:12 +0200 |
commit | a574ba6b70fc8a8dadf4ec493fcb5dc19d1fa478 (patch) | |
tree | 6203155dd48e40d5a56a5fa458660c6ee903427e /compiler/test | |
parent | 4a54b2c24d6f6feb5864461697f5872df220ba52 (diff) | |
download | dotty-a574ba6b70fc8a8dadf4ec493fcb5dc19d1fa478.tar.gz dotty-a574ba6b70fc8a8dadf4ec493fcb5dc19d1fa478.tar.bz2 dotty-a574ba6b70fc8a8dadf4ec493fcb5dc19d1fa478.zip |
Further simplification for Name
Diffstat (limited to 'compiler/test')
-rw-r--r-- | compiler/test/dotty/tools/DottyTypeStealer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/DottyTypeStealer.scala b/compiler/test/dotty/tools/DottyTypeStealer.scala index ff6e67e41..727cd9e7d 100644 --- a/compiler/test/dotty/tools/DottyTypeStealer.scala +++ b/compiler/test/dotty/tools/DottyTypeStealer.scala @@ -19,7 +19,7 @@ object DottyTypeStealer extends DottyTest { implicit val ctx = context val findValDef: (List[ValDef], tpd.Tree) => List[ValDef] = (acc , tree) => { tree match { - case t: ValDef if t.name.startsWith(dummyName.toTermName) => t :: acc + case t: ValDef if t.name.startsWith(dummyName) => t :: acc case _ => acc } } |