Commit 018980b
committed
Fix RBS syntax error
The newly-released RBS 4.0 rejects `void` in union types at the parser
level. The `(Integer | void)` return type on `Readable#rewind` now
causes a hard parse error.
Changed to `Integer`, matching IO#rewind and StringIO#rewind.1 parent 866cb87 commit 018980b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
| 1275 | + | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
| |||
0 commit comments