Skip to content

Commit bc97eac

Browse files
committed
UntypedFunctionUsageInspection tests
1 parent 9810c10 commit bc97eac

File tree

5 files changed

+664
-3
lines changed

5 files changed

+664
-3
lines changed

RetailCoder.VBE/API/ParserState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void Initialize(VBE vbe)
6969
Func<IVBAPreprocessor> preprocessorFactory = () => new VBAPreprocessor(double.Parse(vbe.Version, CultureInfo.InvariantCulture));
7070
_attributeParser = new AttributeParser(new ModuleExporter(), preprocessorFactory);
7171
_parser = new RubberduckParser(_state, _attributeParser, preprocessorFactory,
72-
new List<ICustomDeclarationLoader> { new DebugDeclarations(_state), new FormEventDeclarations(_state) });
72+
new List<ICustomDeclarationLoader> { new DebugDeclarations(_state), new FormEventDeclarations(_state), new AliasDeclarations(_state) });
7373
}
7474

7575
/// <summary>

Rubberduck.Parsing/Symbols/AliasDeclarations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private IReadOnlyList<Declaration> AddAliasDeclarations()
5656
item => item.IdentifierName == "Interaction" && item.Scope == "VBE7.DLL;VBA.Interaction");
5757

5858
var stringsModule = _state.AllDeclarations.SingleOrDefault(
59-
item => item.IdentifierName == "Interaction" && item.Scope == "VBE7.DLL;VBA.Interaction");
59+
item => item.IdentifierName == "Strings" && item.Scope == "VBE7.DLL;VBA.Strings");
6060

6161
// all these modules are all part of the same project--only need to check one
6262
if (conversionModule == null)

0 commit comments

Comments
 (0)