ls: support find references for `panic` and `todo`
Author: ankddevCreated Sep 25, 2026Updated Sep 26, 2026
Labelshelp wanteddiscussion
Related to https://github.com/gleam-lang/gleam/issues/6345, and I think that same reasoning is applicable here.
pub const wibble = todo
// ^^^^
pub fn main() {
todo as "reason"
//^^^^^^^^^^^^^^^^
}pub fn main(a) {
case a {
True -> panic as "unreachable"
// ^^^^^^^^^^^^^^^^^^^^^^
False -> panic
// ^^^^^
}
}Source: gleam-lang/gleam