File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments