Fixed #2231 AS3 coercion to String as convert

This commit is contained in:
Jindra Petřík
2024-08-05 11:17:25 +02:00
parent e1cbba7146
commit 502d44b06d
8 changed files with 34 additions and 2 deletions
Binary file not shown.
Binary file not shown.
+1
View File
@@ -107,6 +107,7 @@ package
TestSlots;
TestSlots2;
TestStrictEquals;
TestStringCoerce;
TestStringConcat;
TestStrings;
TestSwitch;
@@ -0,0 +1,14 @@
package tests
{
public class TestStringCoerce
{
var a:Object = null;
public function run():*
{
var text1:String = this.a["test"];
var text2:String = String(this.a["test"]);
}
}
}