diff options
author | Martin Odersky <odersky@gmail.com> | 2006-05-16 11:45:01 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-05-16 11:45:01 +0000 |
commit | 5c11f952af7017a7d45b56f136a903e128aefcca (patch) | |
tree | b1b654a09f8e964a765d383579b73a56cb691418 /test/files/pos | |
parent | 332ab9f485d457c6f14abd46e548eecbb79ea602 (diff) | |
download | scala-5c11f952af7017a7d45b56f136a903e128aefcca.tar.gz scala-5c11f952af7017a7d45b56f136a903e128aefcca.tar.bz2 scala-5c11f952af7017a7d45b56f136a903e128aefcca.zip |
Fixed bug 591
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/bug591.scala | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/files/pos/bug591.scala b/test/files/pos/bug591.scala deleted file mode 100644 index 94d8068bb3..0000000000 --- a/test/files/pos/bug591.scala +++ /dev/null @@ -1,41 +0,0 @@ -abstract class BaseList { - type Node <: BaseNode; - - - abstract class BaseNode { - protected def self : Node; - private[BaseList] def self00 = self; - def dirty : Unit = {} - def replaceWith(node : Node) = {} - } - - implicit def baseNode2Node(bnode : BaseNode): Node = bnode.self00; - - -} - - -trait BaseFlow extends BaseList { - type Node <: BFNode; - type Flow <: FlowBase; - type Output <: OutputBase; - type Input <: InputBase; - - abstract class FlowBase { - - } - trait OutputBase extends FlowBase { - - } - trait InputBase extends FlowBase { - - } - - trait BFNode extends BaseNode { - private var input : Input = null; - private var output : Output = null; - - def input_=(in : Input) = {} - - } -} |