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.
signature.asc
Description: PGP signature