- 23 Dec, 2014 1 commit
-
-
Kouhei Sutou authored
Case1: From variable Code: a = [1, 2, 3, 4, 5] b, c, *d = a p [a, b, c, d] Before: [[1, 2, 3, 4, 5], 1, 2, []] After: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Ruby: [[1, 2, 3, 4, 5], 1, 2, [3, 4, 5]] Case2: From variables Code: a = [1, 2, 3] b = [4, 5, 6, 7] c, d, *e, f, g = *a, *b p [a, b, c, d, e, f, g] Before: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [], 6, 7] After: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3], [4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Case 3: "for" Code: a = [1, 2, 3, 4, 5, 6, 7] for b, c, *d, e, f in [a] do p [a, b, c, d, e, f] end Before: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [], nil, nil] After: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7] Ruby: [[1, 2, 3, 4, 5, 6, 7], 1, 2, [3, 4, 5], 6, 7]
-
- 20 Dec, 2014 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
mrdb: fix that break command cannot handle Windows paths
-
- 19 Dec, 2014 4 commits
-
-
sdottaka authored
Before fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Class name 'c' is invalid. ``` After fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Breakpoint 1: file c:\tmp\b.rb, line 3. ```
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
avoid a loop to find parent's callinfo using mrb->c->cibase[env->cioff]
-
Yukihiro "Matz" Matsumoto authored
-
- 17 Dec, 2014 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
h2so5 authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
allocation size of irep->iv is irep->nlocals-1.
-
- 16 Dec, 2014 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Add String#prepend
-
Jun Hiroe authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 13 Dec, 2014 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add String#insert
-
Jun Hiroe authored
-
- 12 Dec, 2014 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix crash if #inspect does not return a string value
-
sdottaka authored
case 1 ~~~ class A; def inspect; 1; end; end A.new.a ~~~ case 2 ~~~ class A def self.inspect 1 end alias_method :a, :b end ~~~
-
Yukihiro "Matz" Matsumoto authored
fix usage message
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Dec, 2014 3 commits
-
-
murase_syuka authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 05 Dec, 2014 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
adding mruby-string-utf8 breaks String#[float]
-
Tomoyuki Sahara authored
-
- 02 Dec, 2014 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix ISBLANK() for Visual Studio < 2013
-
- 01 Dec, 2014 1 commit
-
-
cremno authored
Visual Studio versions older than 2013 lack C99's isblank(). Since only ASCII characters are passed to it, implement it directly without calling the locale-specific isblank().
-
- 30 Nov, 2014 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 29 Nov, 2014 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
adhoc fix for pass build
-
- 28 Nov, 2014 2 commits
-
-
murase_syuka authored
-
Yukihiro "Matz" Matsumoto authored
-
- 27 Nov, 2014 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 26 Nov, 2014 1 commit
-
-
murase_syuka authored
-
- 25 Nov, 2014 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix: Numeric#step infinite loop.
-