Skip to content

Stack overflow when using fantomas 3.2.0-beta-002 #630

Closed
@SteveGilham

Description

Description

Formatting this source file with this configuration

{
  "IndentSpaceNum":2,
  "PageWidth":90,
  "SemicolonAtEndOfLine":false,
  "SpaceBeforeArgument":true ,
  "SpaceBeforeColon":false,
  "SpaceAfterComma":true ,
  "SpaceAfterSemicolon":true ,
  "IndentOnTryWith":false,
  "ReorderOpenDeclaration":false,
  "SpaceAroundDelimiter":true ,
  "KeepNewlineAfter":false,
  "MaxIfThenElseShortWidth":40,
  "StrictMode":false
}

fails with stack overflow.

Also, this .fsx file with no #if clauses

Repro code

Repro given above; the source file is too large as it stands to use the online tool.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions