File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
polymod/hscript/_internal Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1127,10 +1127,11 @@ class PolymodInterpEx extends Interp
11271127 case TEnum (enm ):
11281128 Std .string (enm );
11291129 case TObject :
1130- o ;
1130+ #if hl Std . string ( o ); #else o ; #end
11311131 default :
11321132 Std .string (Type .typeof (o ));
11331133 }
1134+ #if hl oCls = oCls .replace (' $' , ' ' ); #end
11341135
11351136 // Check if the field is a blacklisted static field.
11361137 if (PolymodScriptClass .blacklistedStaticFields .exists (o ) && PolymodScriptClass .blacklistedStaticFields .get (o ).contains (f ))
@@ -1252,10 +1253,11 @@ class PolymodInterpEx extends Interp
12521253 case TEnum (enm ):
12531254 Std .string (enm );
12541255 case TObject :
1255- o ;
1256+ #if hl Std . string ( o ); #else o ; #end
12561257 default :
12571258 Std .string (Type .typeof (o ));
12581259 }
1260+ #if hl oCls = oCls .replace (' $' , ' ' ); #end
12591261
12601262 // Check if the field is a blacklisted static field.
12611263 if (PolymodScriptClass .blacklistedStaticFields .exists (o ) && PolymodScriptClass .blacklistedStaticFields .get (o ).contains (f ))
You can’t perform that action at this time.
0 commit comments