mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-06 19:21:16 +00:00
26 lines
532 B
ActionScript
26 lines
532 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestInlineFunctions2
|
|
{
|
|
public function run():*
|
|
{
|
|
function f(a:int):int {
|
|
return a + 1;
|
|
}
|
|
|
|
var g:Function = function(a:int):int {
|
|
return a + 1;
|
|
};
|
|
|
|
var h:Function = function h2(a:int):int {
|
|
return a + 1;
|
|
};
|
|
|
|
(function(a:int):int {
|
|
return a + 1;
|
|
})(1);
|
|
}
|
|
}
|
|
}
|