The next iteration of scope
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 2 05:02:24 PDT 2015
On Thu, 02 Apr 2015 13:39:01 +0200, Jacob Carlborg wrote:
> On 2015-04-02 08:59, ketmar wrote:
>
>> 'cause inferring attributes requires running full semantic analysis on
>> the code, so each imported function *must* be fully processed.
>
> Isn't this required anyway?
.di files has no function bodies, yet they still works. so compiler *can*
do full processing, but it is not required, and if compiler does that,
this restriction can be removed in the future. but with automatic
inference for functions we are stuck with full semantic analysis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150402/0c87decd/attachment.sig>
More information about the Digitalmars-d
mailing list