(2012/04/30 10:16), ktsj (Kazuki Tsujimoto) wrote:
> 
> Issue #6354 has been updated by ktsj (Kazuki Tsujimoto).
> 
> 
> Such as:
> 
>  def f
>    class << self
>      yield
>    end
>  end

Ah, singleton class...  I agree with you.

BTW, the following code causes syntax error.  It is inconsistency.

def m
  1.times{
    class << ''
      break
    end
  }
end

-- 
// SASADA Koichi at atdot dot net