Unknown statement syntax when running swiftc with new 5.7 syntax source file #61880
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
† libswiftSyntax
† Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax
stale
Resolution: No longer relevant, stale
unexpected error
Bug: Unexpected error
Describe the bug
Got unknown statement syntax when running swiftc with new 5.7 syntax source file, for parsing the syntax tree into JSON.
Steps To Reproduce
Steps to reproduce the behavior:
if let
syntaxswiftc -frontend -emit-syntax test-swift-appUITests/test_swift_appUITests.swift
Expected behavior
Should get the correct JSON output without error.
Screenshots
Environment (please fill out the following information)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: