set evaluation crashes compiler
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
Problem is in code, but compiler shouldn't crash in this case, but show error.
eg
var
Key: Char;
AString: String;
begin
Key := 'c';
if Key in ['c', AString] then
writeln('ok');
end;
Mantis conversion info:
- Mantis ID: 15288
- OS: Linux
- OS Build: 2.6.26
- Build: 13173
- Platform: i386
- Version: 2.2.5
- Fixed in version: 2.4.2
- Fixed in revision: 15175 (#75b5b6c7)