hscript icon indicating copy to clipboard operation
hscript copied to clipboard

tiny optimisation for better runtime speed

Open delahee opened this issue 8 years ago • 4 comments

Hi, Very minor but quite good hygiene, feel free to dismiss if a problem.

delahee avatar Oct 01 '17 09:10 delahee

CI says there's some problem:

src\hscript\Interp.java:1060: error: incompatible types: StringMap<Object> cannot be converted to StringMap<Hashed>
				haxe.ds.StringMap<hscript._Interp.Hashed> capturedLocals = ((haxe.ds.StringMap<hscript._Interp.Hashed>) (this.duplicate(((haxe.ds.StringMap<hscript._Interp.Hashed>) (this.locals) ))) );
				                                                                                                        ^
src\hscript\Interp_expr_413__Fun.java:109: error: incompatible types: StringMap<Object> cannot be converted to StringMap<Hashed>
		this.me.locals = ((haxe.ds.StringMap<hscript._Interp.Hashed>) (this.me.duplicate(((haxe.ds.StringMap<hscript._Interp.Hashed>) (this.capturedLocals) ))) );
		                                                              ^
2 errors
Compilation error
Native compilation failed
Error: Buil

That's probably some Haxe/Java issue though...

Simn avatar Oct 01 '17 09:10 Simn

wow sending a workaround to ci

delahee avatar Oct 01 '17 09:10 delahee

hmm okay...I think I can't do anything about that T_T May be I should file an issue for haxe/java?

delahee avatar Oct 01 '17 09:10 delahee

I guess...

Simn avatar Oct 01 '17 09:10 Simn