diff options
Diffstat (limited to 'test/files/pos/scoping3.scala')
-rw-r--r-- | test/files/pos/scoping3.scala | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/files/pos/scoping3.scala b/test/files/pos/scoping3.scala deleted file mode 100644 index 4ebc7f6378..0000000000 --- a/test/files/pos/scoping3.scala +++ /dev/null @@ -1,20 +0,0 @@ -object CI { - trait TreeDisplay { - type TreeNode <: ITreeNode; - trait ITreeNode { - def display(): unit; - } - } - trait TreeDisplayExp { - def getRoot(): TreeNode; - type TreeNode <: ITreeNodeExp; - trait ITreeNodeExp {} - } - trait TreeDisplayFinal extends TreeDisplay with TreeDisplayExp { - type TreeNode <: ITreeNode with ITreeNodeExp; - } - abstract class SimpleTreeDisplay: TreeDisplayFinal extends -TreeDisplay { - def display() = { this.getRoot().display(); } - } -} |