/*EXPECTED undefined null access _Main.g(a.pop()); ^ */ class _Main { static function f(n : Nullable.) : void { log n; } static function g(n : number) : void { log n; } static function main(args : string[]) : void { var a = [ 3 ]; a.pop(); _Main.f(a.pop()); _Main.g(a.pop()); } } // vim: set expandtab:

AltStyle によって変換されたページ (->オリジナル) /