Skip to content

Commit 9bbafdd

Browse files
committed
Remove previously overlooked dynamic in TypeBindingContext
1 parent c7b394e commit 9bbafdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Parsing/Binding/TypeBindingContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private IExpressionBinding Visit(Declaration module, Declaration parent, VBAPars
7878

7979
private IExpressionBinding Visit(Declaration module, Declaration parent, VBAParser.MemberAccessExprContext expression)
8080
{
81-
dynamic lExpression = expression.lExpression();
81+
var lExpression = expression.lExpression();
8282
var lExpressionBinding = Visit(module, parent, lExpression);
8383
SetPreferProjectOverUdt(lExpressionBinding);
8484
return new MemberAccessTypeBinding(_declarationFinder, Declaration.GetProjectParent(parent), module, parent, expression, expression.unrestrictedIdentifier(), lExpressionBinding);

0 commit comments

Comments
 (0)