Unit shadowing
https://github.com/HaxeFoundation/haxe/commit/a1535c56da11b06ce6646bc6cfa99eacb5213681 caused a problem in a situation where we have a Unit.hx type that we want to resolve from the same package or a child package. I didn't consider that import resolution takes priority here.
I'd really like this type to always be available, but we'll have to find a way to implement this with a lower priority so that it is only checked after all other options have been exhausted. This might actually be a bit tricky for the Unit value itself because it currently relies on the enum being imported to make the constructor available.
I have implemented a sort of low-level global import in https://github.com/HaxeFoundation/haxe/commit/0008ff9ad3e72663b87b47dbc4c670132135c7cf, but I don't particularly like that. Will have to think about how to handle this.