Closed vasily-kirichenko closed 11 years ago
I think I understand the reason.
Fantomas can't parse the method alone and produce an empty parse tree, leading to empty results.
Tentative solution (which I will try to implement next week):
member
, abstract
, default
, override
, interface
, etc keywords.type T () = \n
.I think there are other scenarios which require certain heuristics to be processed correctly. Your bug reports help a lot in this regard.
@vasily-kirichenko Thanks for reporting this. I published Fantomas v0.9.6 which should fix the bug and the other one in #5. Can you please check?
Fixed in Fantomas 0.9.6
If I format the following selection: The method entirely disappears: