I am trying to compile the SwiftSyntaxBuilder example code at GitHub.
For some reasons it is failing for me with following error:
Am I missing anything over here?
I am trying to compile the SwiftSyntaxBuilder example code at GitHub.
For some reasons it is failing for me with following error:
Am I missing anything over here?
I don't face the error on my side doing
git clone --branch swift-DEVELOPMENT-SNAPSHOT-2022-12-21-a https://github.com/apple/swift-syntax
cd swift-syntax/Examples
swift run CodeGenerationUsingSwiftSyntaxBuilder
I only used the tag swift-DEVELOPMENT-SNAPSHOT-2022-12-21-a
to talk about a common state of the repository. It should not matter as the examples haven't been touched for quite a while.
Do you still get the error?
Tried today with main branch and the code sample works