From 754075a3535cc2ae490d02880d8fdfc5ce0d085b Mon Sep 17 00:00:00 2001 From: Stephane Epardaud Date: Wed, 19 Nov 2014 11:20:06 +0100 Subject: [PATCH] Updated test .src for #1917: type of assignment 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 --- .../ceylon/compiler/java/test/issues/bug06xx/Bug689.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/com/redhat/ceylon/compiler/java/test/issues/bug06xx/Bug689.src b/test/src/com/redhat/ceylon/compiler/java/test/issues/bug06xx/Bug689.src index cf6eb9bb6..89894dd9b 100644 --- a/test/src/com/redhat/ceylon/compiler/java/test/issues/bug06xx/Bug689.src +++ b/test/src/com/redhat/ceylon/compiler/java/test/issues/bug06xx/Bug689.src @@ -35,7 +35,7 @@ class Bug689 implements .com.redhat.ceylon.compiler.java.runtime.model.Rei .ceylon.language.Sequence $ceylontmp$opV$1 = (.ceylon.language.Sequence)(.ceylon.language.Sequence)(.ceylon.language.Sequence).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)(.ceylon.language.Sequence)$ceylontmp$opV$1); } returning $ceylontmp$opV$1; )).getFirst(); @@ -44,7 +44,7 @@ class Bug689 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 $ceylontmp$opV$3 = (.ceylon.language.Sequence)(.ceylon.language.Sequence)(.ceylon.language.Sequence).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)(.ceylon.language.Sequence)$ceylontmp$opV$3); } returning $ceylontmp$opV$3; )).getFirst(); @@ -61,7 +61,7 @@ class Bug689 implements .com.redhat.ceylon.compiler.java.runtime.model.Rei .ceylon.language.Sequence $ceylontmp$opV$5 = (.ceylon.language.Sequence)(.ceylon.language.Sequence)(.ceylon.language.Sequence).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)(.ceylon.language.Sequence)$ceylontmp$opV$5); } returning $ceylontmp$opV$5; )).getFirst();