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 parameter names of a function are recorded in the function type.
TFunction {
return_type : Type
arguments : (name : String, type : Type)[]
}
In a function definition, the names are used.
However, this doesn't accurately reflect the C semantics. The names of parameters don't relate to the type of the function. What if you first write a prototype and then a definition? The first doesn't need parameter names and the second does. Does the second function type overwrite the first?
The text was updated successfully, but these errors were encountered:
Currently parameter names of a function are recorded in the function type.
In a function definition, the names are used.
However, this doesn't accurately reflect the C semantics. The names of parameters don't relate to the type of the function. What if you first write a prototype and then a definition? The first doesn't need parameter names and the second does. Does the second function type overwrite the first?
The text was updated successfully, but these errors were encountered: