Conditional compilation. Shortcut boolean evaluation don't work.
Original Reporter info from Mantis: kazalex
-
Reporter name: Kazantsev Alexey
Original Reporter info from Mantis: kazalex
- Reporter name: Kazantsev Alexey
Description:
program test;
{$mode delphi}
begin
{IF Declared(XY) And (XY = 56)}WriteLn(56);{
IFEND}
end.
----------------------------------------
test.pas(4,6) Error: Incompatible types: got "AnsiString" expected "Int64"
test.pas(5,4) Fatal: There were 1 errors compiling module, stopping
test.pas(0) Fatal: Compilation aborted
Mantis conversion info:
- Mantis ID: 25296
- Build: trunk
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 26615 (#a6d28b56)
- Monitored by: » kazalex (Kazantsev Alexey)