Skip to content

Commit 03bbe5b

Browse files
committed
make abstract key stuff also use retrieved class name
1 parent e700124 commit 03bbe5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polymod/hscript/_internal/PolymodInterpEx.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ class PolymodInterpEx extends Interp
11961196
// return result;
11971197
}
11981198

1199-
var abstractKey:String = Type.getClassName(o) + '.' + f;
1199+
var abstractKey:String = '$oCls.$f';
12001200
if (PolymodScriptClass.abstractClassStatics.exists(abstractKey)) {
12011201
return Reflect.getProperty(PolymodScriptClass.abstractClassStatics[abstractKey], abstractKey.replace('.', '_'));
12021202
}

0 commit comments

Comments
 (0)