We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22919a5 + 08a15ef commit 78b16adCopy full SHA for 78b16ad
source/yutautil/Sandbox.hx
@@ -93,7 +93,7 @@ class Sandbox<T> {
93
94
private function createProxy(instance:T):Dynamic {
95
var proxy = {};
96
- var fields = Type.getInstanceFields(instance);
+ var fields = Type.getInstanceFields(cast instance);
97
for (field in fields) {
98
var value = Reflect.field(instance, field);
99
if (Reflect.isFunction(value)) {
0 commit comments