Eliminate usages of old sugared call syntax
This commit is contained in:
parent
8b2491160d
commit
a3382b6f26
280 changed files with 1561 additions and 1572 deletions
|
@ -12,13 +12,13 @@ fn test_ret() { let x: @int = ret; }
|
|||
|
||||
fn test_fail() {
|
||||
fn f() { let x: @int = fail; }
|
||||
task::try {|| f() };
|
||||
task::try({|| f() });
|
||||
}
|
||||
|
||||
fn test_fail_indirect() {
|
||||
fn f() -> ! { fail; }
|
||||
fn g() { let x: @int = f(); }
|
||||
task::try {|| g() };
|
||||
task::try({|| g() });
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue