Complete Current Class add Full Qualified Types

The Complete Current Class ^C
adds full qualified names for Strings etc…
value : String becomes:
value: RemObjects.Elements.RTL.String
this drives me crazy … :wink:
message from Build:

Method definition "function Stringtest(value: String): String" does not exactly match implementation "method Test.Stringtest(value: RemObjects.Elements.RTL.String): RemObjects.Elements.RTL.String"

48

Thanks, logged as bugs://83236

Hello,
Could you please send us a full project that shows the problem? I tried to reproduce it here with a simple ClassLibrary (.NET), and it seems completes fine. No unnecessary namespaces were added.
Thanks in advance.

here we go :wink:
Archiv.zip (30.8 KB)

Reproduced, thanks.

bugs://83236 got closed with status fixed.

Sorry to tell,
but in 2439 it is not fixed.
Same Result as before:

namespace ConsoleApplication10;

interface
 type
   testclass = class
     public
       method Test(value : String) : String;
   end;
implementation

end.

becomes:

namespace ConsoleApplication10;

interface
 type
   testclass = class
     public
       method Test(value : String) : String;
   end;
implementation

method testclass.Test(value: RemObjects.Elements.RTL.String): RemObjects.Elements.RTL.String;
begin
end;

end.

Hrmm. Using last fridays build I get this:

namespace ConsoleApplication10;

interface
 type
   testclass = class
     public
       method Test(value : String) : String;
   end;
implementation

method testclass.Test(value: String): String;
begin

end;

end.

(testcase above; removed the implementation). What’s different in yours?

Funny: It works in Water but not in Fire

ah! Oke now we’re getting somewhere. Will get someone to try it there. Thanks!

Can confirm: Works in Water and VS not in Fire

Sure you have the exact same version (also, same project platform)? Fire and Water can’t really differ here, as its literally the same code…

nevertheless, reproduced yeah. weird. we’re investigating further…