Created
March 30, 2011 04:39
-
-
Save brson/893872 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn find_outer_scope_cx(@block_ctxt cx) -> @block_ctxt { | |
auto scope_cx = find_scope_cx(cx); | |
alt (cx.parent) { | |
case (parent_some(?b)) { | |
be find_scope_cx(b); | |
} | |
case (parent_none) { | |
fail; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment