The Delphi Bug List

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
AbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentUnknownExistsFixedUnknown
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
Latest update of this entry: 2002-02-21

Post a comment on this bug


Index page
Delphi Bug List home page
The Delphi Bug Lists are presently maintained by Jordan Russell, who has taken over this task from Reinier Sterkenburg since August 2000.
All feedback is appreciated. See also the feedback section of the Delphi Bug List home page.