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
It appears as if default function values are parsed in an unexpected manner. Specifically, the AssignPattern.key() value always returns None, when I would expect it to be a SinglePattern. I can however query its child nodes to retrieve the data from the SinglePattern.
It appears as if default function values are parsed in an unexpected manner. Specifically, the
AssignPattern.key()
value always returnsNone
, when I would expect it to be aSinglePattern
. I can however query its child nodes to retrieve the data from theSinglePattern
.Using the following code:
I get as output:
Printing the AST I can see the following:
I would have expected the
Name
andLiteral
to be wrapped in aSinglePattern
. Is my expectation incorrect or is there indeed a piece missing here?Versions used:
The text was updated successfully, but these errors were encountered: