|
Scala example source code file (bug691.scala)
The Scala bug691.scala source codetrait Base { trait AssignArrow { type T <: Ti0; trait Ti0; } abstract class Arrow extends AssignArrow; val arrow : Arrow; } trait Ext0 extends Base { trait AssignArrow extends super.AssignArrow { type T <: Ti1; trait Ti1 extends super.Ti0; } } trait Ext1 extends Base { trait Arrow extends super.Arrow { type T <: Ti2; trait Ti2 extends super.Ti0; trait TiXX extends Ti2; } val arrow : Arrow; } trait Composition extends Ext0 with Ext1 { object arrow0 extends Arrow with AssignArrow { type T = TiC trait TiC extends super[Arrow].Ti2 with super[AssignArrow].Ti1; } } Other Scala examples (source code examples)Here is a short list of links related to this Scala bug691.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.