New Project generates invalid code.
Original Reporter info from Mantis: delphifreak
-
Reporter name: samuel herzog
Original Reporter info from Mantis: delphifreak
- Reporter name: samuel herzog
Description:
Could please someone confirm this problem ?
I am not sure if just something got mixed up on my laptop or if
it is a real issue/regression ?
Steps to reproduce:
1.) start lazarus. (SVN 24235)
2.) choose "Project" -> "New Project" ->"Application".
3.) press F9 to run.
This fails on my machine.
If you look at the generate project code, then you will see that there is a misplacement of the semicolon.
Additional information:
program Project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms,Unit1
{ you can add units after this };
{$R *.res}
begin
Application.Initialize
Application.CreateForm(TForm1,Form1);
;
Application.Run;
end.
Mantis conversion info:
- Mantis ID: 16123
- OS: xp
- OS Build: sp3
- Build: SVN 24235
- Platform: win32
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Target version: 0.9.30