Skip to content

Commit 0a65414

Browse files
author
Tadeusz Sośnierz
committed
Fix a copy-pasto
1 parent a81a89a commit 0a65414

File tree

1 file changed

+1
-1
lines changed
  • src/vm/jvm/runtime/org/perl6/nqp/runtime

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ public static SixModelObject write(SixModelObject obj, SixModelObject buf, Threa
424424
sock.write(tc, arr8.slots);
425425
return (SixModelObject)arr8;
426426
} else {
427-
throw ExceptionHandling.dieInternal(tc, "Cannot read() into an object of this type");
427+
throw ExceptionHandling.dieInternal(tc, "Cannot write() from an object of this type");
428428
}
429429
}
430430

0 commit comments

Comments
 (0)