Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

serialize anonymous object broken #10

Closed
rjanicek opened this Issue · 3 comments

2 participants

Richard Janicek Ritchie Turner
Richard Janicek

node.js 0.8.4 x64 / Haxe 2.10 / Windows

-include hx-node in class path

test.hx:

package ;
import haxe.Serializer;
class Main {
    static function main() {
        Serializer.run( { } );
    }
}

output in node and browser ->

TypeError: Object function () { } has no method 'getClass'

Suspect problem is with changes to js.Boot.hx from Haxe 2.10 release

Possible similar issue: https://groups.google.com/forum/?fromgroups#!msg/haxelang/z0Qymrm3smQ/Xak-uMR41OMJ

Richard Janicek

Deleting js\Boot.hx seems to fix the problem. Is this file necessary for hx-node ?

Ritchie Turner
Owner

I'm removing it now, it's not necessary with 2.1o

Ritchie Turner cloudshift closed this
Richard Janicek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.