Entry No.
684
|
Compiler - Shouldn't compile
A missing '+' does not result in an error.
|
|
| 1.02 |
2.01 |
3.0 |
3.01 |
3.02 |
4.0 |
4.01 |
4.02 |
4.03 |
5.0 |
5.01 |
6.0 |
6.01 |
6.02 |
Kylix 1.0 |
| Absent | Absent | Absent | Absent | Absent | Absent | Absent | Absent | Absent | Absent | Absent | Unknown | Exists | Fixed | Unknown |
|
|
|
Description | |
Reported by Holger Lembke; checked by Jordan Russell
The following source:
program cb;
{$APPTYPE CONSOLE}
const
line1 = 'AAAAAAAAAA';
line2 = 'BBBBBBBBBB'line1; // there is a + missing
begin
Writeln(line2);
end.
should not compile without error.
More worse, it compiles without any error, but the result is more strange:
x:\>cb
BBBBBBBBBB
|
|
|
User-contributed comments | |
user 09 Jan 2002 08:09 AM GMT |
Bug exists in Delphi 6 (Build 6.163) US
user 09 Jan 2002 08:09 AM GMT |
Bug exists in Delphi 6 (Build 6.163) US
user 17 Feb 2002 09:23 AM GMT |
Bug exists in Delphi 6 UP1 (Build 6190) German
Gary Tse 21 Feb 2002 07:18 AM GMT |
Bug exists in Delphi 6 UPD1 (Build 6190) English, don't know whether fixed in UPD2
Vasy 08 May 2004 04:25 PM GMT |
Bug NOT existing in Delphi 7
Vasy 08 May 2004 04:26 PM GMT |
Bug NOT existing in Delphi 7
|
|