Inline imports redivivus

rikki cattermole rikki at cattermole.co.nz
Sat Jul 24 18:20:32 UTC 2021


Following on from BeerConf.

What I am seeing in both options of import_ and _import identifiers, is 
that its a little hard to guess that this should be a valid way to 
import a module for a specific symbol access.

Instead enabling of using the identifier list directly i.e.

std.stdio.writeln("foo");

Without an explicit import to get it in scope, and yes I know this has 
some ramifications with module loading and symbol resolution in general.


More information about the Digitalmars-d mailing list