Explorar o código

webidl: fixed read object property

mattias %!s(int64=3) %!d(string=hai) anos
pai
achega
c2b1eeb8c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/webidl/src/webidltowasmjob.pp

+ 1 - 1
packages/webidl/src/webidltowasmjob.pp

@@ -744,7 +744,7 @@ begin
   'UnicodeString': ReadFuncName:='ReadJSPropertyUnicodeString';
   'TJOB_JSValue': ReadFuncName:='ReadJSPropertyValue';
   else
-    Call:='ReadJSPropertyObject('+Attr.Name+','''+GetTypeName(Attr.AttributeType)+''')';
+    Call:='ReadJSPropertyObject('''+Attr.Name+''','+GetTypeName(Attr.AttributeType)+')';
   end;
 
   if Call='' then