diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-10 17:39:50 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-05-10 17:39:50 +0900 |
| commit | 23019213b73fd98844facaedae862e71885e7f34 (patch) | |
| tree | 71ae879169f8387c96746116d2a9bf70344da6df /doc | |
| parent | 033aa98cf46f329e528dd810feab9e052f7dd20f (diff) | |
| download | mruby-23019213b73fd98844facaedae862e71885e7f34.tar.gz mruby-23019213b73fd98844facaedae862e71885e7f34.zip | |
doc/limitation.md: update the limitation.
- `puts` behavior changed as CRuby
- fix wrong behavior in re-raising in `rescue`
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/limitations.md | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/doc/limitations.md b/doc/limitations.md index d903d528c..c6681d5b8 100644 --- a/doc/limitations.md +++ b/doc/limitations.md @@ -13,28 +13,6 @@ This document is collecting these limitations. This document does not contain a complete list of limitations. Please help to improve it by submitting your findings. -## `Array` passed to `puts` - -Passing an Array to `puts` results in different output. - -```ruby -puts [1,2,3] -``` - -#### Ruby [ruby 2.0.0p645 (2015-04-13 revision 50299)] - -``` -1 -2 -3 -``` - -#### mruby [3.0.0 (2021-03-05)] - -``` -[1, 2, 3] -``` - ## `Kernel.raise` in rescue clause `Kernel.raise` without arguments does not raise the current exception within @@ -54,7 +32,7 @@ end #### mruby [3.0.0 (2021-03-05)] -No exception is raised. Instead, you have to do: +`RuntimeError` is raised instead of `ZeroDivisionError`. To re-raise the exception, you have to do: ```ruby begin |
