Skip to content

Commit 5d158b1

Browse files
committed
reinstated async Code Explorer generation
1 parent 3702ca9 commit 5d158b1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

RetailCoder.VBE/Inspections/ParameterCanBeByValInspection.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using Rubberduck.Parsing;
44
using System.Linq;
5-
using Microsoft.CSharp.RuntimeBinder;
65
using Rubberduck.Parsing.Grammar;
76
using Rubberduck.Parsing.Symbols;
87

RetailCoder.VBE/VBA/RubberduckParser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public void RemoveProject(VBProject project)
4646

4747
public async Task<VBProjectParseResult> ParseAsync(VBProject project)
4848
{
49-
//return await Task.Run(() => Parse(project));
50-
// bug: running this on a background thread causes issues with VBProject.Equals and breaks navigation...
51-
return Parse(project);
49+
return await Task.Run(() => Parse(project));
50+
// note: the above has been seen to cause issues with VBProject.Equals and break navigation...
51+
//return Parse(project);
5252
}
5353

5454
public VBProjectParseResult Parse(VBProject project)

0 commit comments

Comments
 (0)