| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-10-03 | Add tests for #4746 | KOBAYASHI Shuji | |
| 2019-06-09 | Fix missing assertions in `test/t/syntax.rb` | KOBAYASHI Shuji | |
| 2018-11-05 | Fixed a bug in argument number check with kwargs; fix #4159 | Yukihiro "Matz" Matsumoto | |
| 2018-09-07 | Clear terminated space | dearblue | |
| 2018-07-31 | Add test case corresponding to 53e2723. | Yukihiro "Matz" Matsumoto | |
| 2018-07-30 | Keyword argument implemented. | Yukihiro "Matz" Matsumoto | |
| 2017-04-13 | Update NODE_XSTR, NODE_DSXTR tests; ref #3605 | Yukihiro "Matz" Matsumoto | |
| 2016-12-01 | Add test for recently fixed bugs | Yutaka HARA | |
| 2016-09-08 | Add testing for regression | ksss | |
| 2016-07-14 | Should raise LocalJumpError when no block given | ksss | |
| 2015-11-17 | mruby-1.2.01.2.0 | mimaki | |
| 2015-09-02 | Make travis happy | Zachary Scott | |
| We have do this because mruby's test files are found using MRUBY_ROOT, like this: mrbs = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb") | |||
| 2015-05-31 | fix masgn nosplat array rhs bug | cremno | |
| The rest lhs variable has to be an empty array if rhs is an array with less elements than pre + post lhs variables. The codegen generated OP_ARRAY with an invalid length (such as 127 for *a, b = []) because rn was negative. | |||
| 2015-05-31 | update test/t/syntax.rb to success on CRuby | Yukihiro "Matz" Matsumoto | |
| 2015-05-29 | add multiple assignment with rest tests | cremno | |
| 2015-05-07 | fix splat without assignment; fix #2781 | cremno | |
| The parser generates NODE_NIL for tSTAR without argument in masgns. The codegen didn't handle that. | |||
| 2015-02-24 | Fix a bug that no expression case doesn't return valid value | Kouhei Sutou | |
| Here is a script that reproduces this problem: x = case when true; 1 end p x # => main # 1 is expected | |||
| 2015-02-24 | Fix a bug that if and no return value case can't return true clause value | Kouhei Sutou | |
| Here is a script that reproduce this problem: x = if true 1 else case 2 when 3 end 4 end p x # => nil # 1 is expected | |||
| 2014-12-23 | Fix splat and multiple assignments | Kouhei Sutou | |
| 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] | |||
| 2014-11-27 | add multiple assignment decomposition test | Yukihiro "Matz" Matsumoto | |
| 2014-05-03 | count skipped line numbers | Nobuyoshi Nakada | |
| 2014-05-03 | skip to the next line and reset column after `=end` | Nobuyoshi Nakada | |
| 2014-05-03 | fix embedded documents | Nobuyoshi Nakada | |
| tabs are allowed after `=begin` and `=end`. raise `SyntaxError` if no =end is found. | |||
| 2014-04-28 | Add tests for multiline comment parsing | Carson McDonald | |
| 2014-04-21 | tests should not depend on `mruby-proc-ext` | cremno | |
| 2014-04-21 | fix optional block arguments in rhs | Nobuyoshi Nakada | |
| define optional block arguments as argument variables in the rhs default expressions, as same as mere assignment expressions. Import ruby/ruby@01740f0c273c89f7bcff3d5014d73c8ff6fb1986 | |||
| 2014-04-21 | fix optional arguments in rhs | Nobuyoshi Nakada | |
| define optional arguments as argument variables in the rhs default expressions, as same as mere assignment expressions. Import ruby/ruby@01740f0c273c89f7bcff3d5014d73c8ff6fb1986 | |||
| 2014-04-21 | allow method definition in cmdarg | Nobuyoshi Nakada | |
| save cmdarg_stack and isolate command argument state from outer scope to allow method definition in cmdarg import from ruby/ruby@04bb9d6b75a55d4000700769eead5a5cb942c25b | |||
| 2014-04-19 | Allow parenthesed do-block in cmdarg | Nobuyoshi Nakada | |
| Flush cmdarg flags inside left-paren in a command argument, to allow parenthesed `do-block` as an argument without arguments parentheses. `CMDARG_PUSH(0)` for tLPAREN_ARG is before `CMDARG_PUSH(1)` in `command_args` due to look-ahead. | |||
| 2014-03-28 | Add test for backquote. | take_cheeze | |
| * Implement code generation of NODE_DXSTR. * Fix NOVAL NODE_XSTR. | |||
| 2014-03-05 | __FILE__ test: add support for \ as separator | cremno | |
| 2014-02-26 | add test for __LINE__ and __FILE__ | take_cheeze | |
| 2014-01-06 | tests for "case" expression. | Tomoyuki Sahara | |
| 2014-01-04 | Test case statement with splat | Carson McDonald | |
| 2013-12-20 | add some tests for case statements | h2so5 | |
| 2013-08-02 | I fix order of actual and expect test value in syntax.rb. | Jun Hiroe | |
| 2013-07-28 | Add a couple splat tests | Carson McDonald | |
| 2013-06-14 | Improve Syntax Tests | Daniel Bovensiepen | |
| 2012-11-30 | add test for 'Abbreviated variable assignment as returns' | skandhas | |
| 2012-11-02 | add test for 8cf42709 | Yukihiro Matsumoto | |
| 2012-06-12 | minor correction in test/t/syntax.rb | Yukihiro Matsumoto | |
