Summary: ICE on missing return statement if invariant is
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2012-05-08 14:08:16 CEST ---
struct CLCommandQueue
    invariant() {}

    int enqueueNativeKernel()
        assert(0, "implement me");

$ dmd -c commandqueue.d
dmd: func.c:1557: virtual void FuncDeclaration::semantic3(Scope *): Assertion
`vresult' failed.

Works without the invariant or with the private.

Might have to do with the fix for, but that's just a guess.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to