Skip to content

[CRASH] if flixel.util.FlxColor doesn't exist => "No abstractImpls found in PolymodScriptClassMacro!" #267

@CrusherNotDrip

Description

@CrusherNotDrip

Yup big issue for the 1 person (hi @CrusherNotDrip) using polymod experimental on a non-flixel project

Under fetchAbstractImpls, if abstractImpls is null then it throws "No abstractImpls found in PolymodScriptClassMacro!"

"oh crusher why but why would it be null? please I really wanna know don't gatekeep please 🥺"

Because it only gets given a value through onGenerate inside a if check with an abstractPath being flixel.util.FlxColor which only exists if you have flixel installed (duh) (although it shouldn't be null but [ ] at best cuz I can see it getting set with abstractImplEntries which is clearly [ ] so idk whats up with that)

I can confirm by adding flixel.util.FlxColor and including it to compilation (+ refreshing the language server if using lime debugger) that FlxColor is the problem for this throw throwing a ball to my head and assassinating me on the spot.

Notes:

  • All of this is inside of PolymodScriptClassMacro
  • Only happens when a script class attempts to get made
  • I have no idea if this is even intentional but if it isn't then the more you know

If i was speaking straight gibberish then uhhhhhh yea idk bro ill make a slideshow or something for easier explaination

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions