|
Scala example source code file (bug510.scala)
The Scala bug510.scala source code
abstract class C {
type T <: Any;
}
abstract class D[S <: C](_c: S) extends C {
val c: S = _c;
type T <: c.T;
}
abstract class E(e: E) extends D[E](e);
object Test {
def f(e: E): Unit = {
def g(t: e.T): Unit = {
val i: Int = t;
()
}
()
}
}
Other Scala examples (source code examples)Here is a short list of links related to this Scala bug510.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.