aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-25 16:29:52 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commit2ab37596efc9cd19081ee009fc97d46cf6c35896 (patch)
tree41a70f6c73517b21a658d4538ab2cca661b48e93
parent624b4eb59862644646dec685833c67c64756a8bd (diff)
downloaddotty-2ab37596efc9cd19081ee009fc97d46cf6c35896.tar.gz
dotty-2ab37596efc9cd19081ee009fc97d46cf6c35896.tar.bz2
dotty-2ab37596efc9cd19081ee009fc97d46cf6c35896.zip
Fix test
-rw-r--r--compiler/test/dotty/tools/ShowClassTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/ShowClassTests.scala b/compiler/test/dotty/tools/ShowClassTests.scala
index 4aa9e8845..66ae80169 100644
--- a/compiler/test/dotty/tools/ShowClassTests.scala
+++ b/compiler/test/dotty/tools/ShowClassTests.scala
@@ -65,7 +65,7 @@ class ShowClassTests extends DottyTest {
debug_println(s"blacklisted package: $path")
else {
for (
- sym <- pkg.info.decls if sym.owner == pkg.moduleClass && !(sym.name contains '$')
+ sym <- pkg.info.decls if sym.owner == pkg.moduleClass && !(sym.name.toString contains '$')
) {
debug_println(s"showing $sym in ${pkg.fullName}")
if (sym is PackageVal) showPackage(sym.asTerm)