#will these error messages be improved?

1 messages · Page 1 of 1 (latest)

clever marsh
#

Instead of just displaying the name of the type, it shows the whole path.

error: expected type 'C:.Users.haha.Documents._User.rep.zig-sdl-test.zig-cache.o.546a32d44cf83bf131c7d76a3aef4b1d.cimport.struct_SDL_Point', found 'C:.Users.haha.Documents._User.rep.zig-sdl-test.zig-cache.o.546a32d44cf83bf131c7d76a3aef4b1d.cimport.struct_SDL_FPoint'
crude yarrow
#

That's an interesting error message. Would you mind opening a github issue for it, ideally with a reproduction?

tame inlet
#

well in zig files are structs and structs are/can be namespaces so the full path is the type technically

#

but im sure it could be shortened in some way if someone put in the work, the only important part you need to know is SDL_Point vs SDL_FPoint

clever marsh
clever marsh
jaunty prairie