Selaa lähdekoodia

fix test 8053

Alexander Kuzmenko 6 vuotta sitten
vanhempi
commit
af9ad1d9bb
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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.