make Loader interface a bit more consistent (#124)

make Loader interface a bit more consistent
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
Cameron Ross 2018-05-31 04:02:21 -03:00 committed by The Dlang Bot
parent a20d7143e7
commit a0ac38fbd7
19 changed files with 94 additions and 74 deletions

View file

@ -90,7 +90,7 @@ void main(string[] args)
writeln("------------------------------------------------------------");
try
{
auto loader = Loader(file);
auto loader = Loader.fromFile(file);
size_t idx = 0;
foreach(ref document; loader)