The compiler changed STring to StringStringString

Oxygene version 8.3.95.2031.

I had this line:

            property NewConnectionString : STring; notify;

I have the option to fix up the mismatched case, but it generated this on compile:

            property NewConnectionString : StringStringString; notify;

It seemed to only have this problem in the public section of the object. Here is that line in context:

   type
      Viewmodel = public class
         private
            fConnectionStrings         : List;
            method GetConnectionStrings: List;
         public
            constructor;

            ConnectionStringsFilename : String := 'Connections.xml';

            property ConnectionStrings : List read GetConnectionStrings;
            property SelectedConnectionString : String; notify;

            property NewConnectionString : String; notify;

            property AddConnectionStringCommand : AddConnectionStringCommand; notify;
            procedure AddConnectionString( parameter : Object );

            procedure SaveConnectionStrings;
         end;

Thanks, logged as bugs://76334

A complete test case will royally help us fix this faster.

I thought, “Hey, there is the code just add it to a project”, but then I tried it. Created a new WPF project, added a class, pasted the code in, added a using for the List class, and removed the reference to the command that was defined elsewhere, and it compiled fine and did not show the symptom. So you REALLY need a test case and I couldn’t create it easily. LUCKILY, I just started this project so there is nothing there that can’t be shared. I’m uploading it for you.Test.zip (298.1 KB)

Hope that helps.

2 Likes

bugs://76334 got closed with status fixed.

Logged as bugs://i64236.

bugs://i64236 was closed as fixed.