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
#9409 made it so OpAssign are supported in macro land. However it doesn't seem to work when using it with a container type, like HashLiteral or NamedTupleLiteral:
This seems to be because, unlike the related stdlib types, the macro variants do not have a #[]? method as they rely solely on #[]. Either need to have the op assign logic account for that, or could just add #[]? as an undocumented alias on the macro types.
#9409 made it so
OpAssign
are supported in macro land. However it doesn't seem to work when using it with a container type, likeHashLiteral
orNamedTupleLiteral
:Produces:
Error: undefined macro method 'HashLiteral#[]?'
.This seems to be because, unlike the related stdlib types, the macro variants do not have a
#[]?
method as they rely solely on#[]
. Either need to have the op assign logic account for that, or could just add#[]?
as an undocumented alias on the macro types.Discovered via athena-framework/athena#151.
The text was updated successfully, but these errors were encountered: