Show convert instruction when needed - int(xx), String(xx), etc....

This commit is contained in:
Jindra Petřík
2022-11-30 22:58:35 +01:00
parent 86fa76678b
commit e22669d377
67 changed files with 492 additions and 93 deletions
+1
View File
@@ -22,6 +22,7 @@ package
TestCatchFinally;
TestChain2;
TestChainedAssignments;
TestConvert;
TestComplexExpressions;
TestContinueLevels;
TestComma;
@@ -0,0 +1,18 @@
package tests
{
public class TestConvert
{
private var n:int = 1;
private var ns:String = "b";
public function run():void
{
var s:String = "a";
var i:int = int(s);
var j:int = n;
s = String(j);
s = ns;
}
}
}