fork download
  1. Object subclass: B [m1 [^#m1]].
  2. B subclass: C [].
  3. obj := C new.
  4. obj m1 printNl. "=> #m1 "
  5.  
  6. Object subclass: A [].
  7. A subclass: B [].
  8. A extend [m2 [^#m2]].
  9. obj m1 printNl. "=> #m1 "
  10. obj m2 printNl. "=> #m2 "
Success #stdin #stdout 0.02s 74304KB
stdin
Standard input is empty
stdout
#m1
Recompiling classes...
Recompiling class: B
Recompiling selector: #m1
#m1
#m2