Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi 'Annotations' in Delphi 2009 (ComCtrls.pas) (https://www.delphipraxis.net/127023-annotations-delphi-2009-comctrls-pas.html)

mjustin 6. Jan 2009 17:40


'Annotations' in Delphi 2009 (ComCtrls.pas)
 
Es ist zwar nur für die .NET Version, aber der Compiler verarbeitet es auch ohne Klammerung mit {$IFDEF CLR}:

Delphi-Quellcode:
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.AllWindows)]
procedure TCustomTabControl.CreateWnd;
begin
 ...
end;
(ComCtrls.pas an diversen Stellen unmittelbar vor einer Methodendeklaration).

Gibt es schon Informationen in der Richtung, ob Annotations als neues Sprachelement geplant sind, eventuell im Rahmen der geplanten RTTI Erweiterungen (http://blogs.codegear.com/pawelglowa...08/12/16/38633) ?

jbg 6. Jan 2009 18:10

Re: 'Annotations' in Delphi 2009 (ComCtrls.pas)
 
Der Win32 Compiler ignoriert sie, der Background-Parser (Error Insight) hat seine Probleme damit und kennt dann die Hälfte der Symbole der Unit nicht.

Vielleicht werden Annotations ja eingeführt wenn die RTTI erweitert wird. Aber ob das überhaupt passiert steht noch in den Sternen.

mkinzler 6. Jan 2009 18:28

Re: 'Annotations' in Delphi 2009 (ComCtrls.pas)
 
Zitat:

Zitat von jbg
Der Win32 Compiler ignoriert sie, der Background-Parser (Error Insight) hat seine Probleme damit und kennt dann die Hälfte der Symbole der Unit nicht.

Vielleicht werden Annotations ja eingeführt wenn die RTTI erweitert wird. Aber ob das überhaupt passiert steht noch in den Sternen.

Hört sich ja nicht gerade optimistisch an :(


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:58 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz