diff options
Diffstat (limited to 'test/test/parsePackage.scala')
-rw-r--r-- | test/test/parsePackage.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test/parsePackage.scala b/test/test/parsePackage.scala index 7b0d16b2a..ceebadd0d 100644 --- a/test/test/parsePackage.scala +++ b/test/test/parsePackage.scala @@ -25,8 +25,8 @@ object parsePackage extends ParserTest { tree case InterpolatedString(id, parts, elems) => InterpolatedString(id, parts map (transformSub(_)), elems map transform) - case ModuleDef(mods, name, impl) => - ModuleDef(mods, name, transformSub(impl)) + case mdef @ ModuleDef(name, impl) => + ModuleDef(name, transformSub(impl)).withMods(mdef.mods) case Function(params, body) => Function(params map transform, body) case InfixOp(l, o, r) => |