Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The Winxed compiler relies on StringHandle.read(0) being equivalent t…

…o StringHandle.readall(). This semantic was unique to StringHandle and is not carried over into the new system. As a temporary fix update the winxed compiler generated .pir code to use the correct method. All coretests (at least) pass
  • Loading branch information...
commit dd76985ff44525db5714bd0314842d10c69a0d42 1 parent a08def9
Andrew Whitworth Whiteknight authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/winxed/compiler.pir
4 ext/winxed/compiler.pir
View
@@ -25759,7 +25759,7 @@
goto __label_7
__label_6: # else
$P1.'close'()
- $P5 = $P1.'read'(0)
+ $P5 = $P1.'readall'()
null $S1
if_null $P5, __label_8
set $S1, $P5
@@ -25811,7 +25811,7 @@
goto __label_4
__label_3: # else
$P1.'close'()
- .tailcall $P1.'read'(0)
+ .tailcall $P1.'readall'()
__label_4: # endif
.end # __private_geninclude
Please sign in to comment.
Something went wrong with that request. Please try again.