|
Scala example source code file (lubs.check)
The Scala lubs.check source code
lubs.scala:11: error: type mismatch;
found : test1.A[test1.A[test1.A[Any]]]
required: test1.A[test1.A[test1.A[test1.A[Any]]]]
val x4: A[A[A[A[Any]]]] = f
^
lubs.scala:24: error: type mismatch;
found : test2.A{type T >: test2.C with test2.D <: test2.A}
required: test2.A{type T >: Null <: test2.A{type T >: Null <: test2.A}}
val x3: A { type T >: Null <: A { type T >: Null <: A } } = f
^
lubs.scala:25: error: type mismatch;
found : test2.A{type T >: test2.C with test2.D <: test2.A}
required: test2.A{type T >: Null <: test2.A{type T >: Null <: test2.A{type T >: Null <: test2.A}}}
val x4: A { type T >: Null <: A { type T >: Null <: A { type T >: Null <: A } } } = f
^
three errors found
Other Scala examples (source code examples)Here is a short list of links related to this Scala lubs.check 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.