221-fix-classes-without-__init__-should-be-valid #304
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#304
Loading…
Reference in New Issue
No description provided.
Delete Branch "221-fix-classes-without-__init__-should-be-valid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -123,0 +132,4 @@
let mut composer: TopLevelComposer = Default::default();
let ast = parse_program(source, Default::default()).unwrap();
let ast = ast[0].clone();
composer.register_top_level(ast, None, "".into(), false).unwrap();
Shouldn't it be
true
?From the issue:
"We need to do the right thing if the user mistakenly decorates
__init__
with @rpc."This is not addressed yet, correct?
The commit messages (and the PR title) are not very good, but I'll probably do a squash merge anyway.