소스 검색

* support default properties for Java classes

git-svn-id: branches/jvmbackend@18513 -
Jonas Maebe 14 년 전
부모
커밋
50dd6489c4
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      compiler/pexpr.pas

+ 3 - 1
compiler/pexpr.pas

@@ -1943,7 +1943,9 @@ implementation
                _LECKKLAMMER:
                   begin
                     if is_class_or_interface_or_object(p1.resultdef) or
-                      is_dispinterface(p1.resultdef) or is_record(p1.resultdef) then
+                       is_dispinterface(p1.resultdef) or
+                       is_record(p1.resultdef) or
+                       is_javaclass(p1.resultdef) then
                       begin
                         { default property }
                         protsym:=search_default_property(tabstractrecorddef(p1.resultdef));