From 2ab37596efc9cd19081ee009fc97d46cf6c35896 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 25 Mar 2017 16:29:52 +0100 Subject: Fix test --- compiler/test/dotty/tools/ShowClassTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') 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) -- cgit v1.2.3