aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-07-06 18:34:52 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2024-07-06 18:34:52 +0200
commit258f120d52d7ed59737572b7a51f45382b1dc236 (patch)
tree59508909522d54b478842db676ea19d01678705a /src/check_expr.cpp
parent80d122f531bb8534f9885598db7d788a4c0f02c9 (diff)
Remove nil checks.
The caller should really not pass `foo: ^string = nil`. A `for ch, in foo` would also crash, so let's not introduce new semantics for iteration. A caller shouldn't pass garbage if they can help it, and a `nil` ^string is not a useful ZII usage here.
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions