Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Implement Binding#local_variable_defined?
- Loading branch information
Brandon Fish
committed
Sep 1, 2016
1 parent
3cf0b5b
commit 772f381
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
spec/truffle/tags/core/binding/local_variable_defined_tags.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
fails:Binding#local_variable_defined? returns false when a variable is not defined | ||
fails:Binding#local_variable_defined? returns true when a regular local variable is defined | ||
fails:Binding#local_variable_defined? returns true when a local variable is defined using eval() | ||
fails:Binding#local_variable_defined? returns true when a local variable is defined using Binding#local_variable_set | ||
fails:Binding#local_variable_defined? returns true when a local variable is defined in a parent scope | ||
fails:Binding#local_variable_defined? allows usage of a String as the variable name | ||
fails:Binding#local_variable_defined? allows usage of an object responding to #to_str as the variable name |
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