-
Notifications
You must be signed in to change notification settings - Fork 183
Add function def clauses #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fn fn_def_is_copy() { | ||
test! { | ||
program { | ||
#[lang(sized)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be copy
, not sized
.
fn fn_def_is_clone() { | ||
test! { | ||
program { | ||
#[lang(sized)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be clone
, not sized
.
Well shoot...I'll just include these in the chalk-base PR. |
@@ -0,0 +1,66 @@ | |||
use super::*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another issue, these tests aren't run because the module is not listed in tests/test/mod.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They fail in the parser because it expects ;
instead of { }
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄
Missed in #449
Also Sized test for
Never