Skip to content

Commit 08a15ef

Browse files
committed
Update Sandbox.hx
1 parent c4c6a2c commit 08a15ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/yutautil/Sandbox.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Sandbox<T> {
9393

9494
private function createProxy(instance:T):Dynamic {
9595
var proxy = {};
96-
var fields = Type.getInstanceFields(instance);
96+
var fields = Type.getInstanceFields(cast instance);
9797
for (field in fields) {
9898
var value = Reflect.field(instance, field);
9999
if (Reflect.isFunction(value)) {

0 commit comments

Comments
 (0)