public imports

Adam D. Ruppe destructionator at gmail.com
Wed Dec 5 21:21:12 UTC 2018


On Wednesday, 5 December 2018 at 21:13:29 UTC, Sjoerd Nijboer 
wrote:
> A small question.
> Is it intended behaviour that public imports inside function 
> calls fail with the message "Error: found public instead of 
> statement", or is it an underdocumented feature?

Looks intended. It doesn't really make sense to have a public 
import inside a function.


More information about the Digitalmars-d-learn mailing list