diff options
Diffstat (limited to 'core/test/src/mill/util/TestGraphs.scala')
-rw-r--r-- | core/test/src/mill/util/TestGraphs.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/test/src/mill/util/TestGraphs.scala b/core/test/src/mill/util/TestGraphs.scala index 54c8d815..aa8865ce 100644 --- a/core/test/src/mill/util/TestGraphs.scala +++ b/core/test/src/mill/util/TestGraphs.scala @@ -174,10 +174,12 @@ object TestGraphs{ trait BaseModule extends Module { def foo = T{ Seq("base") } + def cmd(i: Int) = T.command{ Seq("base" + i) } } object canOverrideSuper extends TestUtil.BaseModule with BaseModule { override def foo = T{ super.foo() ++ Seq("object") } + override def cmd(i: Int) = T.command{ super.cmd(i)() ++ Seq("object" + i) } } trait TraitWithModule extends Module{ outer => |