remove all knowledge of "rpc" from nac3core #545

Open
opened 2024-09-13 12:11:02 +08:00 by sb10q · 1 comment
Owner

Should be moved to nac3artiq.

Should be moved to nac3artiq.
Author
Owner

if !decorator_list.is_empty()
&& matches!(&decorator_list[0].node,
ast::ExprKind::Name{ id, .. } if id == &"rpc".into())
{
instance_to_symbol.insert(String::new(), simple_name.to_string());
continue;
}
if !decorator_list.is_empty() {
if let ast::ExprKind::Call { func, .. } = &decorator_list[0].node {
if matches!(&func.node,
ast::ExprKind::Name{ id, .. } if id == &"rpc".into())
{
instance_to_symbol.insert(String::new(), simple_name.to_string());
continue;
}
}
}

https://git.m-labs.hk/M-Labs/nac3/src/commit/f2c047ba57135846def75587ca55db7b308ad4ab/nac3core/src/toplevel/composer.rs#L2054-L2070
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#545
No description provided.