haxe
haxe copied to clipboard
"Type not found" errors don't provide enough context when type parameters are involved
trafficstars
https://github.com/HaxeFoundation/haxe/blob/a779309be031221799ab2e3c040e2dbcbe7635cc/src/core/error.ml#L303
Haxe Version: 5.0.0 (a9cb38a) or 4.3.6
Very similar to #12144. I'm trying to debug a macro which works with classes that have type parameters, and I'm now receiving this error message:
ERROR (unknown position) | Type not found : T
With an unknown position and an unknown context, I don't know what class I'm failing to apply type parameters for, or what function or line the error is occurring on.