SomeRanDev / reflaxe

Haxe framework for creating compilation targets using macros
MIT License
91 stars 4 forks source link

error parsing file object. #8

Closed vega0 closed 11 months ago

vega0 commented 1 year ago
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/respository/reflaxe,MoonScript/0,0,2/src/mooncompiler/Assembler.hx:327: statement var expression is null
/home/nigtmare/haxe_20230428195743_964c84c/std/sys/Http.hx:48: characters 85-89 : Cannot assign `null` to non-nullable type.

causes of new syntax sugar or something?

48: public static var PROXY:{host:String, port:Int, auth:{user:String, pass:String}} = null;

vega0 commented 1 year ago

by default it works on

haxe --version
4.3.1
SomeRanDev commented 1 year ago

Sorry! This should be fixed now!

vega0 commented 1 year ago

Sorry! This should be fixed now!

Ah! Great!

vega0 commented 1 year ago

tell the moment that you will fix this problem.

SomeRanDev commented 1 year ago

It is already fixed.

vega0 commented 1 year ago

how to test a fix?

SomeRanDev commented 1 year ago

haxelib update?

vega0 commented 1 year ago

is it needed to recreate template?

vega0 commented 1 year ago

every time i run haxelib update it shows me something like

Checking overload
Checking haxe-strings
Checking haxeui-core
Checking haxeui-heaps
Checking sinker
Checking formula
Checking bytetype
Checking openfl
Checking reflaxe
reflaxe was updated
Checking haxeui
Done
SomeRanDev commented 1 year ago

is it needed to recreate template?

Yes. I'm sorry for the trouble. >.<

vega0 commented 1 year ago

is it needed to recreate template?

Yes. I'm sorry for the trouble. >.<

what to do?

SomeRanDev commented 1 year ago

Sorry, I made a mistake! Can you add enforceNullTyping: false to your BaseCompilerOptions.

This is the second argument to ReflectCompiler.AddCompiler.