Skip to content

Issue 1389 - -swf-lib is broken for [Bindable] var - haxe #1389

Closed
@waneck

Description

[Google Issue #1389 : https://code.google.com/p/haxe/issues/detail?id=1389]
by pop.atry@gmail.com, at 17/01/2013, 02:23:44
What steps will reproduce the problem?

  1. compc --include-sources+=BadSwfLib.as -output=BadSwfLib --directory
  2. haxe --gen-hx-classes -swf-lib BadSwfLib/library.swf -swf9 dummy.swf --no-output

What is the expected output? What do you see instead?
I expect some hxclasses to be generated. But I see:
BadSwfLib/library.swf@ BadSwfLib:1: character 0 : Class not found : IEventDispatcher

Please complete the following class with minimal code reproducing the
problem :

// This is an ActionScript file (BadSwfLib.as)
package

{
    public class BadSwfLib
    {
        [Bindable]
        public var foo:int;
        }
    }

Please provide any additional information below.
This error message is found on haxe_299ee4cb229e97374baeb2e0e2f74098e9b4bbec, but haxe_1630722eec55d89bb45ce87201603d4bd31ea00e or early haxe works fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-flashEverything related to Flash / SWF

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions