Commit 7ef977f7
7ef977f75a5cMerged
Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 6 files · ~5 modified · -1 deleted
Description
docs: merge INCOMPATIBILITIES.md into limitations.md
The two docs overlapped: limitations.md already pointed at INCOMPATIBILITIES.md as "the canonical list of intentional CRuby deviations". Fold those four deviations (negative-exponent Integer#**, String#grapheme_clusters, regexp-match-global aliasing, the flip-flop operator) into a new "Intentional incompatibilities" subsection under limitations.md's "By design" section, and delete the separate file.
Redirect the remaining references (README, the negative-exponent test, and the sp_int_pow / sp_bigint_pow comments) to docs/limitations.md.
Co-Authored-By: Claude Opus 4.8 [email protected]
Details
- Commit
- 7ef977f75a5c
- Parent
- 957f9a759f45
README.mdmodifiedView file
A few cases deliberately diverge from CRuby because the CRuby behavior needs afeature Spinel does not implement (e.g. `Integer#**` with a negative exponentraises instead of returning a `Rational`). These are listed in[docs/INCOMPATIBILITIES.md](docs/INCOMPATIBILITIES.md).raises instead of returning a `Rational`). These are catalogued under "Bydesign" in [docs/limitations.md](docs/limitations.md).## Dependenciesdocs/INCOMPATIBILITIES.mddeleted
Loading diff…
docs/limitations.mdmodifiedView file
Loading diff…
lib/sp_bigint.cmodifiedView file
Loading diff…
lib/sp_runtime.hmodifiedView file
Loading diff…
test/integer_pow_negative_exponent.rbmodifiedView file
Loading diff…