Pārlūkot izejas kodu

Fix for default value of a class of type.

Henrique Gottardi Werlang 1 gadu atpakaļ
vecāks
revīzija
664f8fc2ba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/pastojs/src/fppas2js.pp

+ 1 - 1
packages/pastojs/src/fppas2js.pp

@@ -15131,7 +15131,7 @@ begin
         ReleaseEvalValue(Value);
       end;
       end
-    else if (C=TPasClassType) or (C=TPasPointerType) then
+    else if (C=TPasClassType) or (C=TPasPointerType) or (C=TPasClassOfType) then
       begin
       Result:=CreateLiteralNull(El);
       exit;