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
the indentation explodes with "Illegal token: data" after hitting TAB twice. It seems that all reserved words can legally be used as field names, which (in particular) allows FFI support of JS record types with arbitrary field names.
It's not obvious how to fix this. A workaround is to double-quote the record field names, but this really shouldn't be necessary.
Given the apparently-legal snippet:
the indentation explodes with "Illegal token: data" after hitting TAB twice. It seems that all reserved words can legally be used as field names, which (in particular) allows FFI support of JS record types with arbitrary field names.
It's not obvious how to fix this. A workaround is to double-quote the record field names, but this really shouldn't be necessary.
The text was updated successfully, but these errors were encountered: