Types
FriedrichGretz opened this issue · 2 comments
FriedrichGretz commented
Does https://www.blech-lang.org/docs/user-manual/types/#mutable-and-immutable-structures still reflect the current implementation regarding let
and var
fields and resetting them using {}
?
FriedrichGretz commented
The current implementation allows to specify empty structures
struct T
end
The documentation requires at least one field.
Which one is correct?
FriedrichGretz commented
The compiler now refuses to type check empty structures. The documentation is thus correct without a change.