Skip to content

Commit 52a839c

Browse files
committed
[GR-14638] Fix loading of shell stdlib and parsing of for with the same variable outside.
PullRequest: truffleruby/722
2 parents 09153fb + 11abf5c commit 52a839c

24 files changed

+2043
-117
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ New features:
66

77
Changes:
88

9-
* `debug`, `profile`, `profiler`, `shell`, which were already marked as
10-
unsupported, have been removed.
9+
* `debug`, `profile`, `profiler`, which were already marked as unsupported,
10+
have been removed.
1111
* Our experimental JRuby-compatible Java interop has been removed - use
1212
`Polyglot` and `Java` instead.
1313

1414
Bug fixes:
1515

1616
* `autoload :C, "path"; require "path"` now correctly triggers the autoload.
1717
* Fixed `UDPSocket#bind` to specify family and socktype when resolving address.
18+
* The `shell` standard library can now be `require`-d.
19+
* Fixed a bug where `for` could result in a `NullPointerException` when trying
20+
to assign the iteration variable.
1821

1922
# 1.0 RC 14
2023

doc/user/compatibility.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ The following standard libraries are unsupported.
6767
* `io/wait` (partially implemented, could be implemented in the future)
6868
* `pty` (could be implemented in the future)
6969
* `ripper` (has a no-op implementation, and could be implemented in the future)
70-
* `shell` (could be implemented in the future) <!-- TODO CS 26 Feb 19 probably due to simple bug -->
7170
* `win32`
7271
* `win32ole`
7372

0 commit comments

Comments
 (0)