Wiki

Ticket #119 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

-ref: throws exceptions in some cases where the reference cannot be located

Reported by: Chuck Owned by: Chuck
Priority: medium Milestone: Cobra 0.9
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

This is normal:

> cobra -ref:badname hello
error: Cannot locate assembly reference "badname.dll".

But all of the following throw an exception instead of giving an error message:

cobra -ref:"C:\badname" hello
cobra -ref:C:\badname hello
cobra -ref:\badname hello

Attachments

ref-exceptions-tkt119.patch Download (1.5 KB) - added by hopscc 15 years ago.

Change History

Changed 15 years ago by hopscc

  • owner set to hopscc
  • status changed from new to assigned

Changed 15 years ago by hopscc

Changed 15 years ago by hopscc

  • owner changed from hopscc to Chuck

patch+test+relnote

Changed 15 years ago by Chuck

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

This is already fixed through a combination of prior patches and/or my own tweaking.

In fact, I thought you had submitted a patch in this area that was applied some time ago. But maybe I'm remembering wrong.

In any case, the test cases above pass and I added your test case file in changeset:2048

Note: See TracTickets for help on using tickets.