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
@@ -10,7 +10,7 @@ package tests
public function run():void
{
var a:int = Math.random();
var a:int = int(Math.random());
if (a > 10)
{
@@ -9,7 +9,7 @@ package tests
public function run() : String
{
var a:int = Math.random() * 5;
var a:int = int(Math.random() * 5);
try
{
trace("before try2");
@@ -10,7 +10,7 @@ package tests
public function run() : String
{
var a:int = Math.random() * 5;
var a:int = int(Math.random() * 5);
try
{
try
@@ -9,7 +9,7 @@ package tests
public function run() : void
{
var a:int = Math.random() * 5;
var a:int = int(Math.random() * 5);
trace("before try");
try
{