handle empty __init__ correctly #32
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#32
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?
This should be a host object:
This should be a device object:
Related: if
__init__
exists and is not decorated with@kernel
or@portable
, attempting to create the object on the device should fail with a clear error message.Currently this can either succeed (with the compiler using a default empty
__init__
) or, if__init__
takes arguments that are correctly passed by the caller, fail with this confusing error: