Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always check assigned loan paths to the top of the path
Currently, check_for_assignment_to_restricted_or_frozen_location bails out early when looking for loaned base paths when it hits an McDeclared or McImmutable extension. With the current type system, this is actually irrelevant, since mutation can only occur given a unique mutable access path, forcing the same requirement on each base path.
- Loading branch information
Cameron Zwarich
committed
Jun 16, 2014
1 parent
178c4fb
commit 69f4839
Showing
1 changed file
with
3 additions
and
21 deletions.
There are no files selected for viewing
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