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
When performing a deep check , the following code line causes an unexpected assertion error:
visit [-->](`?test_node);
If the line is commented out or modified to visit [-->];, deep check completes successfully. This indicates a possible issue with the visit statement when specifying the node type in deep check.
To Reproduce
node test_node {
has value: int;
}
walker test_walker {
can traverse with root entry {
# visit [-->](`?test_node); # error while deep check
visit [-->]; # working
}
}
with entry {
for i in range(10) {
root ++> (next := test_node(value=i));
}
wlk_obj = root spawn test_walker();
print(wlk_obj);
}
Error Screenshot:
The text was updated successfully, but these errors were encountered:
Describe the bug
When performing a deep check , the following code line causes an unexpected assertion error:
If the line is commented out or modified to visit [-->];, deep check completes successfully. This indicates a possible issue with the visit statement when specifying the node type in deep check.
To Reproduce
Error Screenshot:
The text was updated successfully, but these errors were encountered: