Issue #12094 has been reported by bug hit.

----------------------------------------
Feature #12094: parameterized property assignment: o.prop(arg) = 1)
https://bugs.ruby-lang.org/issues/12094

* Author: bug hit
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
```ruby
module Mod

  @foo = {}

  def self.foo(k)
    @foo[k]
  end

  def self.foo=(k, v)
    @foo[k] = v
  end

end

Mod1.foo(:key1) ||= 'val1'
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>