[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725423: haxe: Closures cause VerifyError when building swf

Package: haxe
Version: 1:3.0.0~svn6707-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Using closures of any sort with the flash target (-swf) causes the
resulting file to give an error of the sort:

> Warning: Failed to parse corrupt data.
> VerifyError: Error #1001: The method MethodInfo-1327() is not implemented.

Steps to reproduce:

> class Test { public static function main () { trace ("Hello World"); } }

Using the command:

> haxe Test.hx -main Test -swf test.swf

I have marked the severity as grave rather then important as, while
it is relatively easy to avoid using closures in your code, the haxe
standard library makes heavy use of closures and is harder to code

Methods such as Map.keys and String.charCodeAt are among the affected.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages haxe depends on:
ii  libc6        2.13-38
ii  libncurses5  5.9-10
ii  libtinfo5    5.9-10
ii  neko         1.8.1-6+b1
ii  zlib1g       1:1.2.7.dfsg-13

haxe recommends no packages.

haxe suggests no packages.

-- no debconf information

Reply to: