Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
type system allows setting a non-optional pointer to null via only implicit casts #1102
after 6edd811 this is possible:
it segfaults using only implicit casts, which shouldn't be possible.
runtime-assignable casting (e.g. const, volatile, and equivalent) for optional pointers should be disallowed for mutable pointer parent types. Then