seattlerb/ruby2ruby

Error processing class << self with multiple methods

UncleGene opened this issue · 1 comments

Fails on processing

class Klass
  class << self
    def m1
    end
    def m2
    end
  end
end

with

sexp_processor.rb:134:in `assert_empty': exp not empty after Ruby2Ruby.process_sclass on s(s(:defn, :m2, s(:args), s(:nil))) from nil (NotEmptyError)

Fixed! Thanks!