Wiki

Ticket #64 (closed defect: fixed)

Opened 16 years ago

Last modified 15 years ago

Running Cobra on an empty file gives an internal exception

Reported by: Chuck Owned by: eric.sellon
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

This used to give a warning. Needs a test case and a fix.

Attachments

ticket64.patch Download (1.2 KB) - added by eric.sellon 15 years ago.

Change History

Changed 15 years ago by eric.sellon

  • owner set to eric.sellon
  • status changed from new to accepted

The fix for this is pretty simple. I will attach a patch file soon. The problem I'm having is making a test for it. The file is no longer empty if I put a # .warning in the file like the other test files. Besides the warning won't have a line number.

Changed 15 years ago by eric.sellon

Changed 15 years ago by eric.sellon

Attached patch file that includes fix and test

Changed 15 years ago by Chuck

  • status changed from accepted to closed
  • resolution set to fixed

Applied in changeset:2106. Thanks.

Note: See TracTickets for help on using tickets.