dbremner / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
0 stars 0 forks source link

"def m(*a); super; end" throws AssertionError #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Test case:

  def m(*a)
    super
  end

Stack trace:

  Ruby.Compiler.CodeGenContext.ldarg(-1) Line 178
  Ruby.Compiler.CodeGenContext.ldarg("block") Line 173
  Ruby.Compiler.AST.PARAM.GenSimple({Ruby.Compiler.CodeGenContext}) Line 75
  Ruby.Compiler.AST.ARGS.GenArgList({Ruby.Compiler.CodeGenContext}, false) 
Line 185
  Ruby.Compiler.AST.SUPER.GenCode0({Ruby.Compiler.CodeGenContext}) Line 382

Original issue reported on code.google.com by sason...@gmail.com on 10 Oct 2007 at 6:40

GoogleCodeExporter commented 8 years ago

Original comment by meaningi...@gmail.com on 11 Oct 2007 at 3:03