Skip to content

Commit 9d82e79

Browse files
CopilotT-Gro
andcommitted
Apply formatting to ServiceParsedInputOps.fs
Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>
1 parent a736537 commit 9d82e79

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/Compiler/Service/ServiceParsedInputOps.fs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,22 +2459,18 @@ module ParsedInput =
24592459
and walkSynModuleDecl (parent: LongIdent) (decl: SynModuleDecl) =
24602460
match decl with
24612461
| SynModuleDecl.NamespaceFragment fragment -> walkSynModuleOrNamespace parent fragment
2462-
| SynModuleDecl.NestedModule(
2463-
moduleInfo = SynComponentInfo(longId = ident);
2464-
decls = decls;
2465-
range = range;
2466-
trivia = trivia) ->
2467-
2462+
| SynModuleDecl.NestedModule(moduleInfo = SynComponentInfo(longId = ident); decls = decls; range = range; trivia = trivia) ->
2463+
24682464
let fullIdent = parent @ ident
24692465
addModule (fullIdent, range)
24702466

24712467
if range.EndLine >= currentLine then
24722468
// Use trivia to get the actual module keyword line, which excludes attributes
2473-
let moduleKeywordLine =
2469+
let moduleKeywordLine =
24742470
match trivia.ModuleKeyword with
24752471
| Some moduleKeywordRange -> moduleKeywordRange.StartLine
2476-
| None -> range.StartLine // Fallback if trivia unavailable
2477-
2472+
| None -> range.StartLine // Fallback if trivia unavailable
2473+
24782474
let moduleBodyIndentation =
24792475
getMinColumn decls |> Option.defaultValue (range.StartColumn + 4)
24802476

0 commit comments

Comments
 (0)