Skip to content

Commit

Permalink
Updated test .src for #1917: type of assignment
Browse files Browse the repository at this point in the history
I give up on trying to fix this totally unnecessary cast, because it has to do with another
bug related to rawness of tuple types where we consider that they are raw without considering
the fact that in fact they are erased to Sequential, which has far less constraints and rawness
  • Loading branch information
FroMage committed Nov 19, 2014
1 parent 863b88c commit 754075a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Bug689<X, Y> implements .com.redhat.ceylon.compiler.java.runtime.model.Rei
.ceylon.language.Sequence<? extends .ceylon.language.Integer> $ceylontmp$opV$1 = (.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)(.ceylon.language.Sequence<? extends .ceylon.language.Integer>).ceylon.language.Tuple.instance(.ceylon.language.Integer.$TypeDescriptor$, new .java.lang.Object[]{
.ceylon.language.Integer.instance(1L),
.ceylon.language.Integer.instance(2L)});
$ceylontmp$opE$0.setVariableWithUnion$priv$($ceylontmp$opV$1);
$ceylontmp$opE$0.setVariableWithUnion$priv$((.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)$ceylontmp$opV$1);
}
returning $ceylontmp$opV$1;
)).getFirst();
Expand All @@ -44,7 +44,7 @@ class Bug689<X, Y> implements .com.redhat.ceylon.compiler.java.runtime.model.Rei
{
.com.redhat.ceylon.compiler.java.test.issues.bug06xx.Bug689<.ceylon.language.Integer, .ceylon.language.Integer> $ceylontmp$opE$2 = new .com.redhat.ceylon.compiler.java.test.issues.bug06xx.Bug689<.ceylon.language.Integer, .ceylon.language.Integer>(.ceylon.language.Integer.$TypeDescriptor$, .ceylon.language.Integer.$TypeDescriptor$, .ceylon.language.Integer.instance(1L), .ceylon.language.Integer.instance(2L), .ceylon.language.Integer.instance(3L));
.ceylon.language.Sequence<? extends .ceylon.language.Integer> $ceylontmp$opV$3 = (.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)(.ceylon.language.Sequence<? extends .ceylon.language.Integer>).ceylon.language.Tuple.instance(.ceylon.language.Integer.$TypeDescriptor$, new .java.lang.Object[]{.ceylon.language.Integer.instance(1L)});
$ceylontmp$opE$2.setVariableWithIntersection$priv$($ceylontmp$opV$3);
$ceylontmp$opE$2.setVariableWithIntersection$priv$((.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)$ceylontmp$opV$3);
}
returning $ceylontmp$opV$3;
)).getFirst();
Expand All @@ -61,7 +61,7 @@ class Bug689<X, Y> implements .com.redhat.ceylon.compiler.java.runtime.model.Rei
.ceylon.language.Sequence<? extends .ceylon.language.Integer> $ceylontmp$opV$5 = (.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)(.ceylon.language.Sequence<? extends .ceylon.language.Integer>).ceylon.language.Tuple.instance(.ceylon.language.Integer.$TypeDescriptor$, new .java.lang.Object[]{
.ceylon.language.Integer.instance(1L),
.ceylon.language.Integer.instance(2L)});
$ceylontmp$opE$4.setVariableWithUnion($ceylontmp$opV$5);
$ceylontmp$opE$4.setVariableWithUnion((.ceylon.language.Sequence<? extends .ceylon.language.Integer>)(.ceylon.language.Sequence)$ceylontmp$opV$5);
}
returning $ceylontmp$opV$5;
)).getFirst();
Expand Down

0 comments on commit 754075a

Please sign in to comment.