glfw: debug.assert should be @panic for better readability #1022

Closed
opened 2023-09-22 19:12:09 +00:00 by emidoots · 1 comment
emidoots commented 2023-09-22 19:12:09 +00:00 (Migrated from github.com)

Folks can run into this:

github.com/hexops/mach-glfw@321efd4065/src/internal_debug.zig (L10)

If they do, they just get a compiler stack trace that is obscure. If we replaced that with a panic instead we could give a nicer error message.

Folks can run into this: https://github.com/hexops/mach-glfw/blob/321efd4065b57e31d8ab0bce720852c1d680d443/src/internal_debug.zig#L10 If they do, they just get a compiler stack trace that is obscure. If we replaced that with a panic instead we could give a nicer error message.
emidoots commented 2024-07-08 13:04:12 +00:00 (Migrated from github.com)
https://github.com/hexops/mach/issues/1166#issuecomment-2212962722
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#1022
No description provided.