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 need to think how to generate Nullable types efficiently
My take would be that for every value type there is, we generate something like:
struct Null_int {
bool hasValue;
int value;
}
This way Null<Int> is nothing but this struct; Still, we need to think how to interact with type parameters - in special returning values from type parameters
The text was updated successfully, but these errors were encountered:
We need to think how to generate Nullable types efficiently
My take would be that for every value type there is, we generate something like:
This way
Null<Int>
is nothing but this struct; Still, we need to think how to interact with type parameters - in special returning values from type parametersThe text was updated successfully, but these errors were encountered: