|
Scala example source code file (bug987.scala)
The Scala bug987.scala source code// tested using Scala compiler version 2.4.0-RC1 -- (c) 2002-2011 LAMP/EPFL // Many thanks to all at LAMP for the work that goes into Scala. class A {} trait B[T <: B[T]] { self: T => } abstract class C extends A with B[C] { protected val data: List[Int] } class E extends D { val data = Nil } class F extends D { val data = Nil } abstract class D extends C with B[D] {} Other Scala examples (source code examples)Here is a short list of links related to this Scala bug987.scala source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.