* Test for issue #6135 * Test for issue #6169
@@ -0,0 +1,10 @@
+package unit.issues;
+
+class Issue6135 extends unit.Test {
+ @:analyzer(ignore)
+ function test() {
+ var x:Array<Dynamic> = [1];
+ x[0] = "hi";
+ t(x[0] == "hi");
+ }
+}
@@ -0,0 +1,17 @@
+class Rec {
+ var x : Int = 0;
+ public inline function new(rec:Bool) {
+ if ( rec ) {
+ var r = new Rec(false);
+ x = r.x;
+class Issue6169 extends unit.Test {