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
New compiler gives error on zigling 51, when demonstrating data segment storage.
Code
// However, this "skull_farmer" character will be put in the
// global immutable data even though it's defined in a function.
// Since it's immutable, all invocations of the function can share
// this one value.
const skull_farmer = Character{};
New compiler gives error on zigling 51, when demonstrating data segment storage.
Code
Result
The text was updated successfully, but these errors were encountered: