Skip to content

Vanity alignment used when calling base constructor #1442

Closed
@knocte

Description

Issue created from fantomas-online

Code

type public DerivedExceptionWithLongNaaaaaaaaameException (message: string,
                                                           code: int,
                                                           originalRequest: string,
                                                           originalResponse: string) =
    inherit BaseExceptionWithLongNaaaameException(message, code, originalRequest, originalResponse)

Result

type public DerivedExceptionWithLongNaaaaaaaaameException
    (
        message: string,
        code: int,
        originalRequest: string,
        originalResponse: string
    ) =
    inherit BaseExceptionWithLongNaaaameException(message,
                                                  code,
                                                  originalRequest,
                                                  originalResponse)

Expected results?

type public DerivedExceptionWithLongNaaaaaaaaameException
    (
        message: string,
        code: int,
        originalRequest: string,
        originalResponse: string
    ) =
    inherit BaseExceptionWithLongNaaaameException
        (
            message,
            code,
            originalRequest,
            originalResponse
        )

Extra information

  • The formatted result breaks by code.
  • The formatted result gives compiler warnings.
  • I or my company would be willing to help fix this.

Options

Fantomas Master at 02/11/2021 13:26:01 - 7783b6f

    { config with
                MaxLineLength = 80 }

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions