Expr: Handle TYPE_VOID in SizeExpr and AssignExpr::Typecheck()

@vpax reported surprising behavior when working with "void values".
While these are not exposed to script land, plumb the places he
pointed out are causing confusing behavior.

Closes #3640.
This commit is contained in:
Arne Welzel 2024-03-07 11:17:24 +01:00
parent eeeaffb42c
commit 8cb1a1518f
9 changed files with 68 additions and 2 deletions

View file

@ -0,0 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
error in <...>/void-errors.zeek, line 2: identifier not defined: void