This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Potential stability issue #9
Labels
Swift Nightly Breakage
We need to wait for Swift 4.2 to stabelize
I have tried to run prettier on on our codebase and was not able to do so successfully.
The kind of errors were pretty similar to those mentioned in here.
After some searching around i stumbled upon this bug report, which seemed to explain the issues i was having.
In the comment section a libSyntax contributor stated:
From what i could gather prettier uses
swiftc -frontend -emit-syntax
under the hood to obtain the JSON representation and then processes it.Since this is not a officially supported API this might cause some problems down the road.
I thaught i should bring it up since its definitely something to be aware of.
Best regards,
Simon
The text was updated successfully, but these errors were encountered: