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
As used in Myriad, SynExprRecordField requires a range in the second argument (the "where is the equals sign" range, mEq) or else the conversion to an Oak will result in having no fields in the record due to
Hi there, similar requests have come up with this in the past.
Fantomas expects a valid syntax tree, as the parser would produce.
We don't want to take any requests to process imperfect syntax trees.
This is somewhat mentioned in the docs.
As used in Myriad,
SynExprRecordField
requires a range in the second argument (the "where is the equals sign" range,mEq
) or else the conversion to anOak
will result in having no fields in the record due tofantomas/src/Fantomas.Core/ASTTransformer.fs
Line 979 in fc341e8
{ }
instead of a record with any fields, if you didn't supply the equals range.)Would it be reasonable to treat
None
the same asSome range0
here? (That's what I've done in my client code and it seems to be fine.)The text was updated successfully, but these errors were encountered: