Ticket #16 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Naming convention prevents usage of third party assemblies

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

Description

The specific assembly of concern is IBM's iSeries access: IBM.Data.DB2.iSeries.

All of IBM's class names are prefixed with 'iDB2', which can't be instantiated in Cobra.

Attachments

Bob.iSeries.cs (305 bytes) - added by khjklujn 8 months ago.
test.cobra (88 bytes) - added by khjklujn 8 months ago.

Change History

Changed 8 months ago by khjklujn

Changed 8 months ago by khjklujn

Changed 8 months ago by khjklujn

The attached files are examples of the problem. They don't actually reference anything from IBM.

Changed 8 months ago by Chuck

  • status changed from new to accepted

You can try a workaround like:

foo = sharp'new iFoo(1)'
# probably with a cast:
foo = sharp'new iFoo(1)' to iFoo

Although I haven't tested that. Will definitely fix.

Changed 8 months ago by Chuck

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

Fixed. Thanks for the report.

Note: See TracTickets for help on using tickets.