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
We want to add a const keyword prefixed to function declaration arguments. This would enable function calls to trivially do const checking in a user-friendly way, and opens the path to generics.
💥 Proposal
We want to add a
const
keyword prefixed to function declaration arguments. This would enable function calls to trivially do const checking in a user-friendly way, and opens the path to generics.Syntax
Semantics
Functions would treat the specific argument as a const value, and function call expressions would enforce constness of the argument.
The text was updated successfully, but these errors were encountered: