Explorar o código

fix test 8053

Alexander Kuzmenko %!s(int64=6) %!d(string=hai) anos
pai
achega
af9ad1d9bb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/unit/src/unit/issues/Issue8053.hx

+ 1 - 0
tests/unit/src/unit/issues/Issue8053.hx

@@ -11,6 +11,7 @@ class Issue8053 extends unit.Test {
 
 		#if !php
 		var a:Dynamic = { };
+		Reflect.setField(a, b, 1);
 		#else
 		var a:Dynamic = if(PHP_VERSION_ID < 70100) {
 			//Prior to PHP 7.1.0 there was no way to add a property with an empty name to an existing object.