Commit 6fda6fe
committed
Fix RBS syntax error: void in union type on Readable#rewind
RBS 4.0 rejects `void` in union types at the parser level. The
`(Integer | void)` return type on `Readable#rewind` was always
semantically invalid and now causes a hard parse error.
Change to `void`, consistent with CompositeIO#rewind and the
YARD @return annotation. Rewind is called for its side effect.1 parent 866cb87 commit 6fda6fe
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