Skip to content

Commit 445a2e9

Browse files
authored
Merge pull request #8562 from atilaneves/fix-21000
Fix issue 21000 - allow use of std{in,out,err} with -preview=noshared…
2 parents aaa0b70 + 03ac553 commit 445a2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/stdio.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5210,7 +5210,7 @@ enum StdFileHandle: string
52105210
{
52115211
with (StdFileHandle)
52125212
assert(_iob == stdin || _iob == stdout || _iob == stderr);
5213-
impl.handle = mixin(_iob);
5213+
impl.handle = cast() mixin(_iob);
52145214
result._p = &impl;
52155215
atomicOp!"+="(spinlock, uint.max / 2);
52165216
break;

0 commit comments

Comments
 (0)