2 import flash.display.MovieClip
3 import flash.events.Event
5 public class Main extends flash.display.MovieClip {
7 /* this test is just to showcase a problem with slotted functions
8 in conjunction with inner function assignment.
9 What (I think) the compiler should do is just to prevent inner
10 functions from being assigned. */
11 public function Main() {
15 f0 = function(s:String) {
19 function() {f0("ok 2/2");}()