File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
polymod/hscript/_internal Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1122,6 +1122,7 @@ class PolymodInterpEx extends Interp
11221122 errorEx (EInvalidAccess (f ));
11231123
11241124 var oCls : String = Util .getTypeName (Type .typeof (o ));
1125+ #if hl oCls = oCls .replace (' $' , ' ' ); #end
11251126
11261127 // Check if the field is a blacklisted static field.
11271128 if (PolymodScriptClass .blacklistedStaticFields .exists (o ) && PolymodScriptClass .blacklistedStaticFields .get (o ).contains (f ))
@@ -1237,6 +1238,7 @@ class PolymodInterpEx extends Interp
12371238 errorEx (EInvalidAccess (f ));
12381239
12391240 var oCls : String = Util .getTypeName (Type .typeof (o ));
1241+ #if hl oCls = oCls .replace (' $' , ' ' ); #end
12401242
12411243 // Check if the field is a blacklisted static field.
12421244 if (PolymodScriptClass .blacklistedStaticFields .exists (o ) && PolymodScriptClass .blacklistedStaticFields .get (o ).contains (f ))
You can’t perform that action at this time.
0 commit comments