You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce (and lint-disallow) panics in main code (#506)
Aside from datagen/sys code, this stops `temporal_rs` from panicking
when unexpected things occur. In general a JS engine should not panic;
it should throw an error or have GIGO behavior.
ICU4X follows a similar policy.
It would be nice to make sure none of the arithmetic can panic as well;
though at least in release builds it'll wrap or do other GIGO, which
seems fine.
0 commit comments