You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduletest openSystem.DiagnosticstypeCorrect=| A ofunit[<DebuggerStepThrough>]overridethis.ToString()=""[<DebuggerStepThrough>]memberthis.f=()[<DebuggerStepThrough>]static memberthis.f=()andWrong=| B ofunit[<DebuggerStepThrough>]overridethis.ToString()=""[<DebuggerStepThrough>]memberthis.f=()[<DebuggerStepThrough>]static memberthis.f=()
Result
moduletestopenSystem.DiagnosticstypeCorrect=| A ofunit[<DebuggerStepThrough>]overridethis.ToString()=""[<DebuggerStepThrough>]memberthis.f=()[<DebuggerStepThrough>]static memberthis.f=()andWrong=| B ofunitoverride [<DebuggerStepThrough>]this.ToString()=""member [<DebuggerStepThrough>]this.f=()static member [<DebuggerStepThrough>]this.f=()
Problem description
Attribute on type function incorrectly placed after formatting for 'and' types only.
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.
The text was updated successfully, but these errors were encountered:
OkkeHendriks
changed the title
Attribute on type function incorrectly placed at 'and' types.
Attribute on type function incorrectly placed for 'and' types.
Sep 2, 2021
I would be interested but I am very busy with work at the moment so not sure at all when I would have the time to look into this. Also because I have zero experience with the Fantomas code base. I worked around it by not using and for the moment.
If/when I can have a look i'll let you know, but I wouldn't hold my breath😒, sorry!
No worries, I totally understand. If you ever find the time and courage, some good starting points are the YouTube videos and our contribution guidelines.
Or feel free to poke me here if you have additional questions.
Issue created from fantomas-online
Code
Result
Problem description
Attribute on type function incorrectly placed after formatting for 'and' types only.
Extra information
Options
Fantomas Master at 08/19/2021 16:27:53 - a80f888
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: