Fixed #1888 Resolving types on XML and XMLList

This commit is contained in:
Jindra Petřík
2022-11-30 22:58:35 +01:00
parent e588cbda3a
commit 9ddda2a8f8
6 changed files with 44 additions and 2 deletions
Binary file not shown.
Binary file not shown.
@@ -53,6 +53,19 @@ package tests
s = prot;
s = String(getTimer());
var x:XML = <list>
<item id="1">1</item>
<item id="2">2</item>
<item id="3">3</item>
</list>;
s = x;
trace("a");
var xlist:XMLList = x.item;
trace("b");
i = int(xlist[i].@id);
}
}
}