[Lazarus] Register Package Help

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 2 19:25:40 CEST 2008


On Fri, 02 May 2008 19:15:08 +0300
Stephano <patspiper at yahoo.com> wrote:

> Mattias Gaertner wrote:
> > You named the package the same as the unit. 
> > The IDE should not allow this. Please create a bug report and
> > explain how you did that. Did you create a new package, added the
> > file and then saved the package?
> Well the IDE allows it AFAIK. I encountered this bug a long time ago
> by creating a new package with a unit, and saving the package (Save
> or Save As??) with the same name as that of the unit. Hadn't I had a
> backup, I would have lost the unit altogether as the IDE happily
> replaced my unit without warning. The bug tracker was down then, and
> I forgot later on about the issue.

No need for the bug report. I already added a check to the IDE.

Mattias



More information about the Lazarus mailing list