Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't report bad method on Scalar, but on value.
  • Loading branch information
jnthn committed Nov 7, 2013
1 parent ad26698 commit 1f83be8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -2083,6 +2083,7 @@ public static SixModelObject findmethod(SixModelObject invocant, String name, Th
return result_o(tc.curFrame);
}
public static String typeName(SixModelObject invocant, ThreadContext tc) {
invocant = decont(invocant, tc);
SixModelObject how = invocant.st.HOW;
SixModelObject nameMeth = findmethod(tc, how, "name");
invokeDirect(tc, nameMeth, howObjCallSite, new Object[] { how, invocant });
Expand Down

0 comments on commit 1f83be8

Please sign in to comment.