Skip to content

Commit d04c91c

Browse files
committed
Errors from missing operations looked a bit mysterious without a context.
1 parent d3c14ab commit d04c91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/DFPSR/implementation/machine/VirtualMachine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ struct VirtualMachine {
880880
}
881881
}
882882
// TODO: Allow asking the specific machine type what the given types are called.
883-
String message = string_combine(U"\nError! ", operation, U" does not match any overload:\n");
883+
String message = string_combine(U"\nError! The virtual machine operation ", operation, U" does not match any overload:\n");
884884
for (int32_t s = 0; s < machineInstructionCount; s++) {
885885
const InsSig<TYPE_COUNT>* signature = &machineInstructions[s];
886886
if (string_caseInsensitiveMatch(signature->name, operation)) {

0 commit comments

Comments
 (0)