Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed -DhscriptPos support in ConsoleUtil.hx #1840

Merged
merged 1 commit into from
May 1, 2016
Merged

fixed -DhscriptPos support in ConsoleUtil.hx #1840

merged 1 commit into from
May 1, 2016

Conversation

x2f
Copy link
Contributor

@x2f x2f commented Apr 30, 2016

With:
haxeflixel version 4.0.1
hscript version >= 2.0.5
...compiling on Neko at least with -DhscriptPos gives compilation error:

flixel/4,0,1/flixel/system/debug/console/ConsoleUtil.hx:156: characters 9-42 : Class<hscript.Error> has no field EInvalidAccess

The proposed fix uses the error() method now defined in hscript's Interp class (following usage in hscript's Interp.hx)

With hscript version >= 2.0.5 compiling with -DhscriptPos gives compilation error:
flixel/4,0,1/flixel/system/debug/console/ConsoleUtil.hx:156: characters 9-42 : Class<hscript.Error> has no field EInvalidAccess

The proposed fix uses the error() method now defined in hscript's Interp class (following usage in hscript's Interp.hx)
@Gama11 Gama11 added the Bug label May 1, 2016
@Gama11
Copy link
Member

Gama11 commented May 1, 2016

Thanks!

@Gama11 Gama11 merged commit c09846b into HaxeFlixel:dev May 1, 2016
@x2f x2f deleted the patch-1 branch May 2, 2016 22:51
Aurel300 pushed a commit to larsiusprime/haxeflixel that referenced this pull request Apr 18, 2018
With hscript version >= 2.0.5 compiling with -DhscriptPos gives compilation error:
flixel/4,0,1/flixel/system/debug/console/ConsoleUtil.hx:156: characters 9-42 : Class<hscript.Error> has no field EInvalidAccess

The proposed fix uses the error() method now defined in hscript's Interp class (following usage in hscript's Interp.hx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants