Wiki

Ticket #366 (new defect)

Opened 10 years ago

Compiling the same file twice

Reported by: Charles Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.9.6
Keywords: Cc:

Description

This:

> cobra foo.cobra foo.cobra

Will have Cobra trying to compile the same file twice which leads to confusing errors about duplicate declarations. There should instead be an error that the same file was specified twice, or a warning that the 2nd instance of the file is being ignored.

Note: See TracTickets for help on using tickets.