Require the parameter that will be referenced to be noted

Issue #918
This commit is contained in:
Marijn Haverbeke 2011-09-15 16:15:17 +02:00
parent 75eee8b194
commit 3abe3671bd
9 changed files with 74 additions and 38 deletions

View file

@ -383,7 +383,7 @@ tag ret_style {
noreturn; // functions with return type _|_ that always
// raise an error or exit (i.e. never return to the caller)
return_val; // everything else
return_ref(bool);
return_ref(bool, uint);
}
type _fn = {decl: fn_decl, proto: proto, body: blk};