$ ceylon compile --suppress-warning
warning: It looks like you are using class files from a Java newer than 1.7.
Everything should work well, but if not, let us know at https://github.com/ceylon/ceylon-compiler/issues.
In the near future, the Ceylon compiler will be upgraded to handle Java 1.8.
source/simple/run.ceylon:13: error: self() in FooBarProducer clashes with self() in ProducerSub
interface BarProducer satisfies ProducerSub<Bar> {}
^
return type ProducerSuper<? extends Foo> is not compatible with ProducerSub<? extends Foo>
where I is a type-variable:
I extends Object declared in interface ProducerSub
1 error
1 warning
Note: Created module simple/1.0.0
ceylon compile: There was 1 error
[@jvasileff] This may look complicated, but it's basically what you get when satisfying
List
twice, with itsrepeat
refinement causing the trouble.[Migrated from ceylon/ceylon-compiler#2191]