Ver Fonte

[php7] fix haxe.io.Input.readAll() with disabled analyzer optimizations (closes #6387)

Alexander Kuzmenko há 8 anos atrás
pai
commit
27261fef02
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      std/php7/_std/haxe/io/BytesBuffer.hx

+ 1 - 1
std/php7/_std/haxe/io/BytesBuffer.hx

@@ -69,7 +69,7 @@ class BytesBuffer {
 		if( pos < 0 || len < 0 || pos + len > src.length ) {
 			throw Error.OutsideBounds;
 		} else {
-			Syntax.binop(b, '.=', src.getData().sub(pos, len).toString());
+			b += src.getData().sub(pos, len).toString();
 		}
 	}