-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit differentForks to the current scope
Alternate if & try forks are always in the same scope. Rearranging the code a little allows for differentForks to only be called on redefinitions within the same scope, and inside differentForks the use of getCommonAncestor can be limited to finding ancestors only when in current scope.
- Loading branch information
Showing
1 changed file
with
26 additions
and
13 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