Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-15032] SE-0293 using unapplied function reference cause SwiftUI preview crash #57359

Open
mattyoung opened this issue Aug 5, 2021 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@mattyoung
Copy link

Previous ID SR-15032
Radar None
Original Reporter @mattyoung
Type Bug
Environment

Xcode Version 13.0 beta 4 (13A5201i)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: eedebad6187307bbee440fc3919498b8

Issue Description:

Create an Xcode SwiftUI iOS app project, paste this into ContentView.swift:

import SwiftUI

struct User: Identifiable {
    let id = UUID()
    var name: String
    var isContacted = false
}

final class Model: ObservableObject {
    @Published var users: [User]

    init(_ users: [User]) {
        self.users = users
    }
}

struct ContentView: View {
    @EnvironmentObject private var model: Model

    var body: some View {
        List($model.users, rowContent: itemView($user:))    // <=== !!! this cause preview to crash
        // this works:
        List($model.users) { $user in
            itemView($user: $user)
        }
    }

    func itemView(@Binding user: User) -> some View {
        EmptyView()
    }
}


struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        let data = [
            User(name: "Larry"),
            User(name: "Curly"),
            User(name: "Moe")
        ]
        ContentView()
            .environmentObject(Model(data))
    }
}

See https://forums.swift.org/t/for-swiftui-list-rowcontent-how-to-define-a-func-with-a-binding-property-wrapper-as-parameter/50782/9

@typesanitizer
Copy link

Could you attach a crash log?

@mattyoung
Copy link
Author

Crash log:

CompileDylibError: Failed to build ContentView.swift

Check the issue navigator for any compilation errors.

Please submit a bug report (Swift.org - Contributing) and include the project and the crash backtrace.
Stack dump:
0. Program arguments: /Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift -serialize-diagnostics-path /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.dia -target x86_64-apple-ios14.0-simulator -enable-objc-interop -sdk /Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -I /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator -F /Users/mateo/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator -F /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator -enable-testing -module-cache-path /Users/mateo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -emit-localized-strings -emit-localized-strings-path /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64 -swift-version 5 -enforce-exclusivity=checked -Onone -D DEBUG -new-driver-path /Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -disable-modules-validate-system-headers -Xcc -working-directory -Xcc /Users/mateo/Devel/BugsBugs/PreviewCrashForFuncWPropWrapperParam -resource-dir /Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-generated-files.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-own-target-headers.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-all-target-headers.hmap -Xcc -iquote -Xcc /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-project-headers.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator/include -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources-normal/x86_64 -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources/x86_64 -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources -Xcc -DDEBUG=1 -module-name PreviewCrashForFuncWPropWrapperParam_PreviewReplacement_ContentView_2 -target-sdk-version 15.0.0 -o /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.o

Apple Swift version 5.5 (swiftlang-1300.0.27.6 clang-1300.0.27.2)
While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift")
While silgen emitFunction SIL function "@$s36PreviewCrashForFuncWPropWrapperParam11ContentViewV0abcdefg1_a12Replacement_hI2_2E15__preview__body33_7817697A203B92A1C9DFE2D362513A75LLQrvg".
for getter for preview__body (at /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift:28:49)
While silgen closureexpr SIL function "@$s36PreviewCrashForFuncWPropWrapperParam11ContentViewV0abcdefg1_a12Replacement_hI2_2E15__preview__body33_7817697A203B92A1C9DFE2D362513A75LLQrvgAC04itemI04userQr7SwiftUI7BindingVyAA4UserVG_tFQOy_Qo_ANcACcfu
".
for expression at [/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift:28:40 - line:28:55] RangeText="itemView($user:"
While silgen closureexpr SIL function "@$s36PreviewCrashForFuncWPropWrapperParam11ContentViewV0abcdefg1_a12Replacement_hI2_2E15__preview__body33_7817697A203B92A1C9DFE2D362513A75LLQrvgAC04itemI04userQr7SwiftUI7BindingVyAA4UserVG_tFQOy_Qo_ANcACcfu_AoNcfu0
".
for expression at [/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift:28:40 - line:28:55] RangeText="itemView($user:"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
0 swift-frontend 0x0000000112542187 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1 swift-frontend 0x0000000112541118 llvm::sys::RunSignalHandlers() + 248
2 swift-frontend 0x0000000112542796 SignalHandler(int) + 278
3 libsystem_platform.dylib 0x00007ff818c8e06d _sigtramp + 29
4 libsystem_platform.dylib 0xf6abc000c0001003 _sigtramp + 17774370760257122227
5 swift-frontend 0x000000010ddd0a37 swift::SILInstructionVisitor<LazyConformanceEmitter, void>::visit(swift::SILInstruction*) + 999
6 swift-frontend 0x000000010dd2c66b swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 2043
7 swift-frontend 0x000000010ddbdec0 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 240
8 swift-frontend 0x000000010dda99af swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 143
9 swift-frontend 0x000000010de21f92 swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) + 450
10 swift-frontend 0x000000010ddca113 swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) + 1011
11 swift-frontend 0x000000010dd2c60e swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 1950
12 swift-frontend 0x000000010dd577ff (anonymous namespace)::SILGenApply::visitAbstractClosureExpr(swift::AbstractClosureExpr*) + 607
13 swift-frontend 0x000000010dd3f45b swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 251
14 swift-frontend 0x000000010dda997f swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 95
15 swift-frontend 0x000000010dd9d808 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 40
16 swift-frontend 0x000000010dd87e69 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 393
17 swift-frontend 0x000000010dd513e6 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3446
18 swift-frontend 0x000000010dd3cf29 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 169
19 swift-frontend 0x000000010dd594d3 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapperswift::SILFunctionType, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImplswift::Lowering::ManagedValue&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, swift::Lowering::CalleeTypeInfo::ForeignInfo const&) && + 675
20 swift-frontend 0x000000010dd58f7c (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::Lowering::AbstractionPattern, swift::CanTypeWrapperswift::SILFunctionType, swift::Lowering::CalleeTypeInfo::ForeignInfo const&, llvm::SmallVectorImplswift::Lowering::ManagedValue&, llvm::Optionalswift::SILLocation&) + 1276
21 swift-frontend 0x000000010dd42029 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 2537
22 swift-frontend 0x000000010dd3fde6 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2694
23 swift-frontend 0x000000010dda997f swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 95
24 swift-frontend 0x000000010dd9aac6 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optionalswift::SILLocation) + 118
25 swift-frontend 0x000000010dd8d57a swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int) + 2250
26 swift-frontend 0x000000010dd3238d swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Decl*) + 125
27 swift-frontend 0x000000010de19c2c swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 460
28 swift-frontend 0x000000010ddc8d68 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) + 776
29 swift-frontend 0x000000010dd2e2c0 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 9296
30 swift-frontend 0x000000010dd306f8 emitOrDelayFunction(swift::Lowering::SILGenModule&, swift::SILDeclRef, bool) + 376
31 swift-frontend 0x000000010dd2be58 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) + 216
32 swift-frontend 0x000000010de30785 SILGenExtension::visitFuncDecl(swift::FuncDecl*) + 277
33 swift-frontend 0x000000010e8bdd1a swift::AbstractStorageDecl::visitEmittedAccessors(llvm::function_ref<void (swift::AccessorDecl*)>) const + 90
34 swift-frontend 0x000000010de30658 SILGenExtension::visitVarDecl(swift::VarDecl*) + 360
35 swift-frontend 0x000000010de2c21b SILGenExtension::emitExtension(swift::ExtensionDecl*) + 59
36 swift-frontend 0x000000010dd36092 swift::ASTVisitor<swift::Lowering::SILGenModule, void, void, void, void, void, void>::visit(swift::Decl*) + 1938
37 swift-frontend 0x000000010dd3344c swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 4172
38 swift-frontend 0x000000010de19655 swift::SimpleRequest<swift::ASTLoweringRequest, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule > (swift::ASTLoweringDescriptor), (swift::RequestFlags)9>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) + 197
39 swift-frontend 0x000000010dd383ec llvm::Expectedswift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncachedswift::ASTLoweringRequest(swift::ASTLoweringRequest const&) + 652
40 swift-frontend 0x000000010d679868 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 13304
41 swift-frontend 0x000000010d5bb718 main + 1032
42 dyld 0x000000011968f4d5 start + 421

|BuildInvocationError
|
|-|
|
|
|/Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -F /Users/mateo/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator -enforce-exclusivity=checked -DDEBUG -sdk /Users/mateo/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -target x86_64-apple-ios14.0-simulator -module-cache-path /Users/mateo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -swift-version 5 -I /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator -F /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator -emit-localized-strings -emit-localized-strings-path /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64 -c -j4 -serialize-diagnostics -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-generated-files.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-own-target-headers.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-all-target-headers.hmap -Xcc -iquote -Xcc /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/PreviewCrashForFuncWPropWrapperParam-project-headers.hmap -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Products/Debug-iphonesimulator/include -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources-normal/x86_64 -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources/x86_64 -Xcc -I/Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/DerivedSources -Xcc -DDEBUG=1 -working-directory /Users/mateo/Devel/BugsBugs/PreviewCrashForFuncWPropWrapperParam /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.swift -o /Users/mateo/Library/Developer/Xcode/DerivedData/PreviewCrashForFuncWPropWrapperParam-dwnrppkkgaqzyibjpemqiooqvwqg/Build/Intermediates.noindex/Previews/PreviewCrashForFuncWPropWrapperParam/Intermediates.noindex/PreviewCrashForFuncWPropWrapperParam.build/Debug-iphonesimulator/PreviewCrashForFuncWPropWrapperParam.build/Objects-normal/x86_64/ContentView.2.preview-thunk.o -module-name PreviewCrashForFuncWPropWrapperParam_PreviewReplacement_ContentView_2 -Onone -Xfrontend -disable-modules-validate-system-headers|

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants