support non-boolean conditions? #88
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#88
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Support
if x:
withx
being e.g.int32
,int64
,float
,list
like in CPython.Though if this messes up the type system it may not be worth doing.
@pca006132 Is it worth looking into this or should we just close this Issue? IMHO this kinda go against the explicit typing philosophy of NAC3.
This will not mess up the type system, just have to change the inference rule for if/while. However, I wonder if we really want this...
OK, let's just close it.