Avatar
Avatar
norio_nomura
というわけで、実用的な速度でimport SwiftUIを使ったコンパイルを通せる様になりました。実行はできませんが。 @swift-6.0.3 + macos import SwiftUI var foo = doesntExist // expected-error {{cannot find 'doesntExist' in scope}} struct ContentView: View { var body: some View { VStack { Text(verbatim: foo) } } }
exit status: 1 with <stdin>:3:11: error: cannot find 'doesntExist' in scope 1 | import SwiftUI 2 | 3 | var foo = doesntExist // expected-error {{cannot find 'doesntExist' in scope}} | `- error: cannot find 'doesntExist' in scope 4 | 5 | struct ContentView: View {