mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 19:01:58 +00:00
Show convert instruction when needed - int(xx), String(xx), etc....
This commit is contained in:
18
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestConvert.as
vendored
Normal file
18
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestConvert.as
vendored
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user