diff options
Diffstat (limited to 'test/files/neg/bug715.scala')
-rw-r--r-- | test/files/neg/bug715.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/bug715.scala b/test/files/neg/bug715.scala new file mode 100644 index 0000000000..87b2525a63 --- /dev/null +++ b/test/files/neg/bug715.scala @@ -0,0 +1,15 @@ +package test; +trait B { + type Node <: NodeImpl; + trait NodeImpl { + def self : Node; + def chilren : List[Node]; + } +} +trait C extends B { + type Node <: NodeImpl; + trait NodeImpl extends super.NodeImpl { + override def children = super.chilren; + children; + } +} |