diff options
Diffstat (limited to 'examples/references.fwd')
-rw-r--r-- | examples/references.fwd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/references.fwd b/examples/references.fwd index 468f4a0..5b73aaf 100644 --- a/examples/references.fwd +++ b/examples/references.fwd @@ -16,7 +16,9 @@ main() /* references are not active anymore so we can reference again */ references(twenty&, thirty&) => { - /* not ok since twenty/thirty is actively borrowed */ - twenty + thirty => int fifty; + /* Try uncommenting! + * Not ok since twenty/thirty is actively borrowed + */ + // twenty + thirty => int fifty; }; } |