You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tokay 0.6.4
>>> x = Int
>>> x
1234
>>> X : @{ x = Int x }
Line 1, column 1: Cannot assign to constant 'X', because it must be consumable. Use an identifier starting in lower-case, e.g. 'x'
>>>
Inside of the parselet definition, the assignment of Int to x should call Int. It can be worked around by X : @{ x = {Int} x }.
The text was updated successfully, but these errors were encountered:
phorward
changed the title
bug: Assign of consumable call not recognized in function
bug: Assign of consumable to variable should call (like an expression)
Aug 5, 2023
Given
tokay -- hello1234
Inside of the parselet definition, the assignment of
Int
to x should call Int. It can be worked around byX : @{ x = {Int} x }
.The text was updated successfully, but these errors were encountered: