id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
784,subclassing breaks multi dispatch,coke,,"This code looks like it should print ""1"" twice...

{{{
.sub main :main
  .local pmc int_c
  int_c = get_class ""Integer""

  .local pmc sub_c
  sub_c = subclass int_c, ""MyInt""

  $P1 = new 'Integer'
  $P1 = 4
  $P1 -= 3
  say $P1

  $P1 = new 'MyInt'
  $P1 = 4
  $P1 -= 3
  say $P1
.end
}}}

But dies on the subclass subtraction.

{{{
$ ./parrot foo.pir
1
Multiple Dispatch: No suitable candidate found for 'i_subtract_int', with signature 'PI'
current instr.: 'main' pc 24 (foo.pir:14)
}}}
",bug,closed,blocker,,core,branch,medium,fixed,,,tcl,,
