Skip to content

Commit dfe6149

Browse files
committed
Added removal of to_int and to_str to Breaking Changes.
ref mruby/mruby#4177
1 parent a84852b commit dfe6149

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_posts/2018-12-10-mruby-2.0.0-released.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ class_variables, class_variables_defined?, class_variable_get, class_variable_se
9999
- Module class (Singleton Methods)
100100
constants, nesting
101101

102+
### 3. No implicit conversion by `to_int` and `to_str`.
103+
104+
The objects with methods `to_int` or `to_str` are no longer converted to Integers or Strings respectively. Those implicit conversions cause recursive VM calls and had been the source of many bugs.
102105
---
103106

104107
We have done 378 commits to 156 files, 7,949 lines were added, 5,430 lines removed since mruby1.4.1.
@@ -107,5 +110,3 @@ For more detail of the updates, see [Commit Log](https://github.com/mruby/mruby/
107110
## Evaluated mrbgems list (NPO mruby forum)
108111

109112
[See the list](http://forum.mruby.org/download/index2EN.html).
110-
111-

0 commit comments

Comments
 (0)