-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GR-59866] Add Module#set_temporary_name method
PullRequest: truffleruby/4455
- Loading branch information
Showing
7 changed files
with
213 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module ModuleSpecs | ||
module SetTemporaryNameSpec | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
fails:Module#set_temporary_name can assign a temporary name | ||
fails:Module#set_temporary_name can assign a temporary name which is not a valid constant path | ||
fails:Module#set_temporary_name can't assign empty string as name | ||
fails:Module#set_temporary_name can't assign a constant name as a temporary name | ||
fails:Module#set_temporary_name can't assign a constant path as a temporary name | ||
fails:Module#set_temporary_name can't assign name to permanent module | ||
fails:Module#set_temporary_name can assign a temporary name to a nested module | ||
fails:Module#set_temporary_name can update the name when assigned to a constant | ||
fails:Module#set_temporary_name does not affect a name of a module nested into an anonymous module with a temporary 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
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