assigned(a) with a is a methodpointer fails in mode delphi
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
assigned(a) with declared as procedure of object fails when compiling with mode delphi.
Free Pascal Compiler version 1.9.1 [2003/11/09] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling assignedbug.pas
assignedbug.pas(6,16) Warning: Variable "a" does not seem to be initialized
assignedbug.pas(6,16) Error: Illegal parameter list
assignedbug.pas(10) Fatal: There were 1 errors compiling module, stopping
assigned(@a) works.
In objfpc mode: assigned(a) and assigned(@a) both compile.
fpc 1.0.10 doesn't seem to have this bug.
Additional information:
Reporter: Vincent Snijders
EMail: vslist at zonnet dot nl
Mantis conversion info:
- Mantis ID: 4793
- OS: Linux
- Version: 1.9.1
- Fixed in version: 1.9.1