diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-04-05 22:01:43 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-04-12 12:01:31 +0200 |
commit | 33e71061d63d08ee23e28d9a43ad601afa74e043 (patch) | |
tree | 83c4279524ae3aa6d5a270fc6bd1662102742a26 /test/files/pos/t5148.scala | |
parent | b932419f07c0d747d868ebc3b51ccc54573a5827 (diff) | |
download | scala-33e71061d63d08ee23e28d9a43ad601afa74e043.tar.gz scala-33e71061d63d08ee23e28d9a43ad601afa74e043.tar.bz2 scala-33e71061d63d08ee23e28d9a43ad601afa74e043.zip |
SD-98 don't emit unnecessary mixin forwarders
In most cases when a class inherits a concrete method from a trait we
don't need to generate a forwarder to the default method in the class.
t5148 is moved to pos as it compiles without error now. the error
message ("missing or invalid dependency") is still tested by t6440b.
Diffstat (limited to 'test/files/pos/t5148.scala')
-rw-r--r-- | test/files/pos/t5148.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t5148.scala b/test/files/pos/t5148.scala new file mode 100644 index 0000000000..fca64e57df --- /dev/null +++ b/test/files/pos/t5148.scala @@ -0,0 +1,4 @@ +package scala.tools.nsc +package interpreter + +class IMain extends Imports |