I have the following line in some of my haxe code:
removeChild(_screens[Helpers.indexOf(_screenNames, _activeScreen)]);
(_screens is a List, GameScreen is extending from Sprite, _activeScreen is a String, _screenNames is a List, and Helpers.indexOf does the obvious)
However, i get the error:
List<com.haxelib.GameScreen> should be Array<Unknown<0>>
on the _screens
part. I can't make sense of this error; what does it mean?