Skip to content

Commit 670806b

Browse files
authored
Merge pull request #312 from MasterDuke17/remove_BOOTSTRAPATTR_where_possible
Include the bad REPR type in error message
2 parents 42313ae + b392903 commit 670806b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/jvm/runtime/org/perl6/nqp/runtime/CallSiteDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public CallSiteDescriptor explodeFlattening(CallFrame cf, Object[] oldArgs) {
144144
}
145145
}
146146
else {
147-
throw ExceptionHandling.dieInternal(cf.tc, "Flattening named argument must have VMHash REPR");
147+
throw ExceptionHandling.dieInternal(cf.tc, "Flattening named argument must have VMHash REPR instead of " + flatHash.st.REPR.name);
148148
}
149149
break;
150150
case ARG_OBJ | ARG_NAMED:

0 commit comments

Comments
 (0)