Skip to content

Commit 362fdb4

Browse files
antonsyndclaude
andcommitted
format: Format
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 067e5b6 commit 362fdb4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Sharpy.Compiler/Semantic/Validation/GeneratorValidator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ private void ValidateGeneratorFunction(FunctionDef funcDef, SemanticContext cont
169169
{
170170
var found = StatementWalker.FirstOrDefault(handler.Body,
171171
inner => inner is YieldStatement ys ? ys : null);
172-
if (found != null) return found;
172+
if (found != null)
173+
return found;
173174
}
174175
}
175176
return null;

0 commit comments

Comments
 (0)