Skip to content

Commit bbd1ace

Browse files
committed
update
1 parent 53c0151 commit bbd1ace

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Core/AST/Commands/AbsyCmd.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,13 +1489,13 @@ protected override Cmd ComputeDesugaring(PrintOptions options)
14891489

14901490
public override void Resolve(ResolutionContext rc)
14911491
{
1492+
var errorCount = rc.ErrorCount;
14921493
(this as ICarriesAttributes).ResolveAttributes(rc);
14931494
foreach (CallCmd callCmd in CallCmds)
14941495
{
14951496
callCmd.Resolve(rc);
14961497
}
1497-
1498-
if (rc.ErrorCount > 0)
1498+
if (errorCount > rc.ErrorCount)
14991499
{
15001500
return;
15011501
}

0 commit comments

Comments
 (0)