mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
![]() Result makes sense where I have something meaningful to say to the user like "X is not implemented yet". And also for public functions that may interface with other parts of the project like Backend. But for private functions internal to gen_wasm, it's just unhelpful to get a stack trace to where the Result is unwrapped! I want a stack trace to the root cause. I always end up temporarily rewriting Err("oops") to panic!("oops") and then waiting for it to recompile. This feels like a more balanced approach, using each technique where it makes sense. |
||
---|---|---|
.. | ||
backend.rs | ||
from_wasm32_memory.rs | ||
layout.rs | ||
lib.rs | ||
storage.rs |