Skip to content

Commit 184eb4f

Browse files
committed
Small tidy up.
1 parent ebee0c7 commit 184eb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Compatibility:
1111

1212
* Fix `Array#fill` to raise `TypeError` instead of `ArgumentError` when the length argument is not numeric (#2652, @andrykonchin).
1313
* Warn when a global variable is not initialized (#2595, @andrykonchin).
14-
* Range literals are now created at parse time like CRuby (#2622, @aardvark179).
14+
* Range literals are now created at parse time like in CRuby (#2622, @aardvark179).
1515

1616
Performance:
1717

src/main/java/org/truffleruby/core/range/RangeNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected RubyArray map(RubyIntRange range, RubyProc block,
8484
return createArray(arrayBuilder.finish(state, length), length);
8585
}
8686

87-
@Specialization(guards = "!isIntRange(range)")
87+
@Specialization
8888
protected Object mapFallback(RubyObjectRange range, Object block) {
8989
return FAILURE;
9090
}

0 commit comments

Comments
 (0)