Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't confuse primitive type and reference kind!
  • Loading branch information
jnthn committed Feb 28, 2015
1 parent e6b895e commit 134199d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -3051,7 +3051,7 @@ private static short getContainerPrimitive(SixModelObject obj) {
if (obj != null && !(obj instanceof TypeObject)) {
ContainerSpec cs = obj.st.ContainerSpec;
if (cs instanceof NativeRefContainerSpec)
return ((NativeRefREPRData)(obj.st.REPRData)).ref_kind;
return ((NativeRefREPRData)(obj.st.REPRData)).primitive_type;
}
return StorageSpec.BP_NONE;
}
Expand Down

0 comments on commit 134199d

Please sign in to comment.