Failed Tests (3): Swift-validation(macosx-arm64) :: Sema/SwiftUI/rdar57201781.swift Swift-validation(macosx-arm64) :: Sema/SwiftUI/rdar70880670.swift Swift-validation(macosx-arm64) :: Sema/SwiftUI/rdar72771072.swift Testing Time: 223.11s Total Discovered Tests: 251 Unsupported: 8 (3.19%) Passed : 240 (95.62%) Failed : 3 (1.20%)
// RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx10.15 -swift-version 5 // REQUIRES: objc_interop // REQUIRES: OS=macosx import SwiftUI var foo = doesntExist // expected-error {{cannot find 'doesntExist' in scope}} struct ContentView: View { var body: some View { VStack { Text(verbatim: foo) } } }
Assertion failed: (!Name || (Name.getArgumentNames().size() == BodyParams->size())), function setParameters, file Decl.cpp, line 9961.