Changeset 378

Show
Ignore:
Timestamp:
02/12/10 01:54:07 (2 years ago)
Author:
walter
Message:

bugzilla 3775 Segfault(cast.c): casting no-parameter template function using property syntax

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/expression.c

    r375 r378  
    77597759    } 
    77607760 
     7761    if (!e1->type) 
     7762    {   error("cannot cast %s", e1->toChars()); 
     7763    return new ErrorExp(); 
     7764    } 
     7765 
    77617766#if 1 
    77627767    if (sc->func && sc->func->isSafe() && !sc->intypeof)