Wiki

Ticket #16 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years 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 Download (305 bytes) - added by khjklujn 12 years ago.
test.cobra Download (88 bytes) - added by khjklujn 12 years ago.

Change History

Changed 12 years ago by khjklujn

Changed 12 years ago by khjklujn

Changed 12 years ago by khjklujn

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

Changed 12 years 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 12 years 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.