diff options
Diffstat (limited to 'test/files/buildmanager/overloaded_1/A.scala')
-rw-r--r-- | test/files/buildmanager/overloaded_1/A.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/buildmanager/overloaded_1/A.scala b/test/files/buildmanager/overloaded_1/A.scala new file mode 100644 index 0000000000..c070faf978 --- /dev/null +++ b/test/files/buildmanager/overloaded_1/A.scala @@ -0,0 +1,11 @@ +trait As { + trait C extends D { + override def foo = this /// Shouldn't cause the change + override def foo(act: List[D]) = this + } + + abstract class D{ + def foo: D = this + def foo(act: List[D]) = this + } +} |