__init__ is not strictly necessary #11
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#11
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
results in:
but should be equivalent to:
which compiles.
Yes,
__init__
is not required for classes with no fields. Simple to fix later.In top level, this should be fixed with field initialization check added in the latest commit. I think the codegen needs to be modified at around here to fully support this.
Currently this
gives: