No, it's working as designed (even if a bit confusing) - types in Haxe are placed in packages, and modules (.hx files) contribute types to packages, so you can't have two types with the same name inside the same package, even if they are from different modules.
You can mark the type with `private` keyword tho, then it'll be placed in a special package generated for current module and will be accessible only from within this module.
среда, 23 августа 2017 г., 15:43:16 UTC+3 пользователь T1m_ написал: