mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-27 05:40:01 +03:00
Replace std.typecons.scoped
with scope
This commit is contained in:
parent
1c3763811e
commit
c248b7f1af
2 changed files with 2 additions and 3 deletions
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
|||
Subproject commit 049bec15b153bd1bc7ca78af862cfd41ae8c2d9f
|
||||
Subproject commit 666aed31f6224af737199374cbe7c8c9416c6d80
|
|
@ -379,7 +379,7 @@ MessageSet analyze(string fileName, const Module m, const StaticAnalysisConfig a
|
|||
m.moduleDeclaration.moduleName.identifiers !is null)
|
||||
moduleName = m.moduleDeclaration.moduleName.identifiers.map!(e => e.text).join(".");
|
||||
|
||||
auto first = scoped!FirstPass(m, internString(fileName), symbolAllocator,
|
||||
scope first = new FirstPass(m, internString(fileName), symbolAllocator,
|
||||
symbolAllocator, true, &moduleCache, null);
|
||||
first.run();
|
||||
|
||||
|
@ -605,4 +605,3 @@ MessageSet analyze(string fileName, const Module m, const StaticAnalysisConfig a
|
|||
|
||||
return set;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue