larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
159 stars 60 forks source link

Polymod Cannot Compile #145

Open RoseShineCJGamingYT opened 1 year ago

RoseShineCJGamingYT commented 1 year ago

I keep getting this Error, does anyone know how to fix it?

C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodScriptClass.hx:60: characters 52-56 : polymod.hscript._internal.ErrorEx has no field line C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodScriptClass.hx:63: characters 87-91 : polymod.hscript._internal.ErrorEx has no field line source/NGio.hx:12: characters 1-68 : io.newgrounds.objects.events.Result has no field or subtype GetCurrentVersionResult source/NGio.hx:13: characters 1-61 : io.newgrounds.objects.events.Result has no field or subtype GetVersionResult source/NGio.hx:47: characters 62-76 : io.newgrounds.Call has no field addDataHandler (Suggestion: addStatusHandler) source/NGio.hx:47: characters 104-127 : Type not found : GetCurrentVersionResult source/NGio.hx:97: characters 25-39 : () -> Void should be Null<io.newgrounds.objects.events.Outcome -> Void> source/NGio.hx:97: characters 25-39 : ... For optional function argument 'callback' source/NGio.hx:100: characters 30-45 : () -> Void should be Null<io.newgrounds.objects.events.Outcome -> Void> source/NGio.hx:100: characters 30-45 : ... For optional function argument 'callback' source/NGio.hx:86: characters 25-34 : () -> Void should be Null<io.newgrounds.LoginOutcome -> Void> source/NGio.hx:86: characters 25-34 : ... For optional function argument 'callback' C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodScriptClass.hx:366: characters 69-73 : polymod.hscript._internal.ErrorEx has no field line C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:73: characters 14-43 : polymod.hscript._internal.ErrorEx should be hscript.Error C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:73: characters 14-43 : ... For function argument 'e' C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:442: characters 16-41 : polymod.hscript._internal.ErrorEx should be hscript.Error C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:442: characters 16-41 : ... For function argument 'e' C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:450: characters 13-38 : polymod.hscript._internal.ErrorEx should be hscript.Error C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:450: characters 13-38 : ... For function argument 'e' C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:105: characters 13-40 : polymod.hscript._internal.ErrorEx should be hscript.Error C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:105: characters 13-40 : ... For function argument 'e' C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:483: characters 13-38 : polymod.hscript._internal.ErrorEx should be hscript.Error C:/HaxeToolkit/haxe/lib/polymod/git/polymod/hscript/_internal/PolymodInterpEx.hx:483: characters 13-38 : ... For function argument 'e'

EliteMasterEric commented 1 year ago

Two possible solutions:

  1. Try updating your version of Polymod to the latest version via haxelib install polymod. Let me know what version of Polymod you are using.
  2. Add <haxedef name="hscriptPos" value="true" /> to your project.xml file to ensure that error messages are reported properly.