Unable to published level property

Hi Team,

Please look at below code for detail.

    Parent = public class
    private
    public
	  property Name : String read write;  
    end; 

   Base = public class(Parent)
   private	
       public
  end;

  Program = class(Base)
  public
    class method Main(args: array of String): Int32;	
    published
    property Name;  //  Error  (E46) Unknown identifier "Name"	
 end;

This behaviors allowed in Delphi but in Oxygene its throwing an error.
Can we accommodate this behavior in Oxygene?

Below is test application.

PublishProperty.zip (35.8 KB)

Thankyou!

I believe this should work in the latest versions we fixed this a few weeks go), but only in Delphi Compatibility Mode. What build are you using, and is DCM turned on?

I am using version RemObjects Elements with Water - 10.0.0.2557 and yes DCM is ON.

Can you try .2563? not sure when exactly thus was fixed, but its might have been after 2557…

Actually, nevermind, reproduced; I’ll log.

Thanks, logged as bugs://85072

workaround is of course top just override it.

  published
    property Name: String; override;

bugs://85072 got closed with status fixed.

bugs://85072 got closed with status fixed.