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
In the latest update, moonbit supports alert pragma. And for now moonbit core contains functions that might panic for unexpected input (For example, index out of bounds when access an array. More detailed discussion in #186 ).
So it is important to discuss about which pragma identifier should be used for these functions.
Alert pragma id for unsafe functions
no need
0%
unsafe
0%
abort
50%
panic
0%
partial
50%
more fine-grained categories (leave your ideas in comments)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the latest update, moonbit supports alert pragma. And for now moonbit core contains functions that might panic for unexpected input (For example, index out of bounds when access an array. More detailed discussion in #186 ).
So it is important to discuss about which pragma identifier should be used for these functions.
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions