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

Ticket #251 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Assertion failure in a very simple case

Reported by: pamaury Assigned to: ChristianK
Priority: major Milestone:
Component: unspecified Version: hg tip
Keywords: Cc:

Description

The following code fails to compile with ldc and triggers the assertion: ldc: /home/pamaury/project/ldc/ldc/gen/functions.cpp:723: void DtoDefineFunction?(FuncDeclaration?*): Assertion `n == fd->parameters->dim' failed.

class Foo
{
    Bar f(int ty)
    {
        return null;
    }
}

class Bar : Foo
{
}

Change History

04/21/09 12:23:34 changed by lindquist

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

fixed since rev [1248]

Copyright © 2008, LDC Development Team.