Преглед на файлове

fcl-passrc: resolver: different record types are incompatible

git-svn-id: trunk@37192 -
Mattias Gaertner преди 8 години
родител
ревизия
b980151f07
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      packages/fcl-passrc/src/pasresolver.pp

+ 5 - 1
packages/fcl-passrc/src/pasresolver.pp

@@ -11950,7 +11950,11 @@ begin
         end;
       end;
     end
-  else if RTypeEl.ClassType=TPasEnumType then
+  else if LTypeEl.ClassType=TPasRecordType then
+    begin
+    // records of different type
+    end
+  else if LTypeEl.ClassType=TPasEnumType then
     begin
     // enums of different type
     end