Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.18 KB | None | 0 0
  1. program new;
  2. {$autoInvoke ON}
  3. {$autoproperties ON}
  4.  
  5. function foo(): Int32;
  6. begin
  7.  
  8. end;
  9.  
  10. var
  11.   f: function:Int32;
  12. begin
  13.   f := @foo; //fails with autoproperties on
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement