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
Currently the helper function for default values returns simply an expression. However, in many cases default values have side effects: e.g., allocation, element/member initialization, which is currently done "manually" all around the code. Instead, the default value helpershould be able to return statements (and maybe declarations) as side effect. This would make it easier to implement default values for reference types in memory, especially nested structs/arrays. See e.g., #102
The text was updated successfully, but these errors were encountered:
Currently the helper function for default values returns simply an expression. However, in many cases default values have side effects: e.g., allocation, element/member initialization, which is currently done "manually" all around the code. Instead, the default value helpershould be able to return statements (and maybe declarations) as side effect. This would make it easier to implement default values for reference types in memory, especially nested structs/arrays. See e.g., #102
The text was updated successfully, but these errors were encountered: