Fixed #2231 AS3 coercion to String as convert

This commit is contained in:
Jindra Petřík
2024-07-13 19:55:09 +02:00
parent e1cbba7146
commit 502d44b06d
8 changed files with 34 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ package
TestSlots;
TestSlots2;
TestStrictEquals;
TestStringCoerce;
TestStringConcat;
TestStrings;
TestSwitch;

View File

@@ -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"]);
}
}
}