c3c
c3c copied to clipboard
Add nullability annotation on parameter
Maybe "[in?]"? And [in] is by default non null.
/**
* @param [out?] f
**/
fn void bar(Foo* f)
{
f.x = 123; // Should be an error, f isn't tested
}
Implemented as [&out]