[dmd-internals] [D-Programming-Language/dmd] dfb683: add purity inference

Jonathan M Davis jmdavisProg at gmx.com
Mon Jun 20 01:28:51 PDT 2011


On 2011-06-20 01:08, noreply at github.com wrote:
>   Branch: refs/heads/master
>   Home:   https://github.com/D-Programming-Language/dmd
> 
>   Commit: dfb683f63ec89709b0bf2760ef3b2a249ce320eb
>      
> https://github.com/D-Programming-Language/dmd/commit/dfb683f63ec89709b0bf2
> 760ef3b2a249ce320eb Author: Walter Bright <walter at walterbright.com>
>   Date:   2011-06-20 (Mon, 20 Jun 2011)
> 
>   Changed paths:
>     M src/constfold.c
>   M src/declaration.h
>   M src/expression.c
>   M src/func.c
>   M src/mtype.c
>   M src/mtype.h
> 
>   Log Message:
>   -----------
>   add purity inference

So, is this the implementation for some sort of auto pure to make it possible 
for templated functions to be pure based on what they're templatized with? Or 
is it something else?

- Jonathan M Davis


More information about the dmd-internals mailing list