js.Boot.getClass() not found under Haxe 2.10 #12

Closed
mikestead opened this Issue Aug 8, 2012 · 4 comments

Comments

Projects
None yet
2 participants

When I compile and run my node js server file using Haxe 2.10 I soon get the following runtime error:

return js.Boot.getClass(o);
        ^
TypeError: Object function () { } has no method 'getClass'

Which I believe is down to how hx-node overrides the Boot class.

This was also reported on the Haxe mailing list a while back but don't think was logged here.

https://groups.google.com/d/msg/haxelang/z0Qymrm3smQ/Xak-uMR41OMJ

Owner

cloudshift commented Aug 10, 2012

On 08/08/2012 03:08 AM, Mike Stead wrote:

When I compile and run my node js server file using Haxe 2.10 I soon
get the following runtime error:

|return js.Boot.getClass(o);
^
TypeError: Object function () { } has no method 'getClass'
|

Which I believe is down to how hx-node overrides the Boot class.

This was also reported on the Haxe mailing list a while back but don't
think was logged here.

https://groups.google.com/d/msg/haxelang/z0Qymrm3smQ/Xak-uMR41OMJ


Reply to this email directly or view it on GitHub
#12.

Hi Mike,

I've removed Boot.hx from github, it's not necessary anymore. I'd
forgotten to git rm it.

Thanks

R

Great, that seemed to fix the problem. Will you be pushing out this update to the haxelib?

Owner

cloudshift commented Aug 10, 2012

On 08/10/2012 12:23 AM, Mike Stead wrote:

Great, that seemed to fix the problem. Will you be pushing out this
update to the haxelib?


Reply to this email directly or view it on GitHub
#12 (comment).

yes, I'll do this morning

R

Thanks for resolving this

mikestead closed this Aug 10, 2012

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