Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed AST::Node#updated to always return a copy.
Currently it relies on a call chain #initialize -> #freeze that returns `self`. However, overriding constructor in a custom subclass and returning something else breaks `updated`.
- Loading branch information
1 parent
5ab62fa
commit 0f9e92d
Showing
3 changed files
with
22 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
language: ruby | ||
rvm: | ||
- 1.9.2 | ||
- 1.9.3 | ||
- 2.0 | ||
- 2.1 | ||
- 2.2 | ||
- 2.3 | ||
- 2.4.1 | ||
- jruby-18mode | ||
- jruby-19mode | ||
- 2.4.10 | ||
- 2.5.8 | ||
- 2.6.6 | ||
- 2.7.1 | ||
- jruby-9.1.15.0 | ||
|
||
before_install: | ||
- gem install bundler |
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