aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/ShowClassTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/test/dotty/tools/ShowClassTests.scala')
-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)