Razvan Nitu

Results 373 comments of Razvan Nitu

``` src/dmd/root/string.d(29): Error: no property `fTuple` for `str` of type `const(char)[]` ```

Ok, seems like imports in template declarations will be always considered not used. Need to fix this.

Ok, there are a couple of issues to be tackled here to fix the druntime failures: - template declarations that contain imports(I think a sane solution is to simply skip...

> I think the result of this work, would be for imports that are only used in some conditions (in versions, or in templates) to naturally migrate inside their respective...

> What about public imports? Currently they are treated as normal imports: if they're not being used in the module they are declared in they are flagged. Are you suggesting...

> I feel that makes sense; the constraint is not really a part of the instantiation, it's a predicate and it must be evaluated in all cases prior to instantiation...

I feel kind of uncomfortable to merge this without seeing what the next changes will look like. Are we going to have to pass a diagnostics object to all of...

It has happened in the past that fields that were unused in dmd were actually being used by users of dmdlib. That being said, I'm not sure what the policy...