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
{{ message }}
Repository navigation
A @set or @set_index external with a unit value crashes the compiler #9339
@set_index external setI: (t, string, unit) => unit = "" crashes the same way (line 464).
A unit argument is left out of the JS call, so the translation gets one argument where it expects two. The same external with an @ignore value is already rejected with Ill defined attribute @set (two args required).
Expected: either the same error at the declaration, or t.x = undefined.
Found while reviewing #9231. Reproduced on master 54b923a.
Activity
Reject unit arguments of @set, @set_index and @get_index externals (r…