Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #34 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

template class in separate module does not link

Reported by: ChristianK Assigned to: ChristianK
Priority: major Milestone: Alpha
Component: Version:
Keywords: Cc:

Description

File main.d:

import tclass;

void main()
{ auto c = new TClass!(char); }

File tclass.d:

module tclass;

class TClass(T) {}

Compiling the files separately and then trying to link them fails. Compiling them together fails during compilation. This might be connected to the problems with tango's Layout class.

Change History

03/24/08 16:00:14 changed by lindquist

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [155]

Copyright © 2008, LDC Development Team.