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.