-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I created a relation one to one for shadowing but here I'm updating it to be a one to many relation. It is possible that a single entity gets shadowed multiple times. Example in python: ```python def function_with_local_of_same_name(init): if init > 10: return init function_with_local_of_same_name = init #function_with_local_of_same_name = function_with_local_of_same_name(1) return function_with_local_of_same_name + 3 print(function_with_local_of_same_name(0)) def function_with_local_of_same_name(init): return init ``` The function get shadowed once by a temporary and a second time by an other function
- Loading branch information
Showing
3 changed files
with
21 additions
and
15 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
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
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