Skip to content

Commit 46b2c36

Browse files
committed
Delete extraneous diagnostic
1 parent 414c04e commit 46b2c36

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/checker/checker.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8053,7 +8053,6 @@ func (c *Checker) checkCallExpression(node *ast.Node, checkMode CheckMode) *Type
80538053
if !ast.IsDottedName(node.Expression()) {
80548054
c.error(node.Expression(), diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name)
80558055
} else if c.getEffectsSignature(node) == nil {
8056-
c.error(node.Expression(), diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation)
80578056
diagnostic := c.error(node.Expression(), diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation)
80588057
c.getTypeOfDottedName(node.Expression(), diagnostic)
80598058
}

0 commit comments

Comments
 (0)