Ticket #654 (closed defect: fixed)
CALayer has a problem aliasing methods
| Reported by: | eloy.de.enige@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
This only seems to happen on CALayer subclasses:
% cat t.rb framework 'QuartzCore' class X < CALayer attr_accessor :foo alias_method :foo?, :foo end x = X.new p x.foo? x.foo = true p x.foo? % macruby t.rb /Users/eloy/Documents/DEVELOPMENT/MacRuby/macruby/t.rb:4:in `block': undefined method `foo' for class `X' (NameError) from /Users/eloy/Documents/DEVELOPMENT/MacRuby/macruby/t.rb:1:in `<main>'
Change History
Note: See
TracTickets for help on using
tickets.

