Closed jvasileff closed 8 years ago
Is this a dupe of non-bug https://github.com/ceylon/ceylon-model/issues/6?
Oh no, unlike ceylon/ceylon-model#6 it seems to be an actual bug. But like ceylon/ceylon-model#6 this is nothing to do with the typechecker itself, AFAICT, and is just a minor bug in TypePrinter
in ceylon-model
.
Sounds right
Fixed.
I don't know if this affects actual type checking, but the type inference information available in error messages and IDE mouseovers incorrectly simplifies
Tuple
intersections withSequential
to canonical, homogeneousTuple
s, disregardingTuple
's type parameters that are not present inSequential
.The mouseover on
value
for:is "Inferred type
Integer[2]
"And the error message for:
sometimes says "
Integer[2]
is not assignable toInteger[2]
".