Browse Source

[php] reduce test case for #5608

Alexander Kuzmenko 8 years ago
parent
commit
2a8d80aa26
1 changed files with 4 additions and 2 deletions
  1. 4 2
      tests/unit/src/unit/issues/Issue5608.hx

+ 4 - 2
tests/unit/src/unit/issues/Issue5608.hx

@@ -1,11 +1,13 @@
 package unit.issues;
 
-class Issue5608 extends unit.Test {
+class Issue5608 extends unit.Test implements Dynamic<Bool> {
 	var fields:Array<String>;
 
 	function test() {
 		//should not throw
-		fields = Reflect.fields(haxe.Serializer);
+		fields = Reflect.fields(Issue5608);
 		t(true);
 	}
+
+	public function resolve( name ) return true;
 }