Skip to content

Commit c0ec9e7

Browse files
committed
Make print/say/note use high level handle.
1 parent 6261004 commit c0ec9e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/IO.nqp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,17 @@ sub spew($filename, $contents) {
189189
}
190190

191191
sub print(*@args) {
192-
nqp::print(join('', @args));
192+
stdout().print(join('', @args));
193193
1;
194194
}
195195

196196
sub say(*@args) {
197-
nqp::say(join('', @args));
197+
stdout().say(join('', @args));
198198
1;
199199
}
200200

201201
sub note(*@args) {
202-
nqp::sayfh(nqp::getstderr(), join('', @args));
202+
stderr().say(join('', @args));
203203
1;
204204
}
205205

0 commit comments

Comments
 (0)