Avatar
exit status: 134 with stderr:TYPE MISMATCH IN ARGUMENT 0 OF APPLY AT expression at [<stdin>:13:5 - line:13:15] RangeText="fuga.fuga()" argument value: %2 = open_existential_addr immutable_access %0 : $*FugaP to $*@opened("7DC7DDB8-DE6A-11E8-9C56-46984C01C748") FugaP parameter type: $@opened("7DC7DDB8-DE6A-11E8-9C56-46984C01C748") FugaP #0 0x000000000410ac94 PrintStackTraceSignalHandler(void*) (/usr/bin/swift+0x410ac94) #1 0x0000000004108b22 llvm::sys::RunSignalHandlers() (/usr/bin/swift+0x4108b22) #2 0x000000000410ae42 SignalHandler(int) (/usr/bin/swift+0x410ae42) #3 0x00007f90afabc390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) #4 0x00007f90ae1fb428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428) #5 0x00007f90ae1fd02a abort (/lib/x86_64-linux-gnu/libc.so.6+0x3702a) #6 0x0000000000d18138 swift::Lowering::SILGenFunction::emitApply(std::unique_ptr<swift::Lowering::ResultPlan, std::default_delete<swift::Lowering::ResultPlan> >&&, swift::Lowering::ArgumentScope&&, swift::SILLocation, swift::Lowering::ManagedValue, llvm::ArrayRef<swift::Substitution>, llvm::ArrayRef<swift::Lowering::ManagedValue>, swift::Lowering::CalleeTypeInfo const&, swift::Lowering::ApplyOptions, swift::Lowering::SGFContext) (/usr/bin/swift+0xd18138) #7 0x0000000000d1ad49 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) (/usr/bin/swift+0xd1ad49) #8 0x0000000000d19cc4 swift::Lowering::SILGenFunction::emitApplyExpr(swift::Expr*, swift::Lowering::SGFContext) (/usr/bin/swift+0xd19cc4) #9 0x0000000000cad75d swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/usr/bin/swift+0xcad75d) #10 0x0000000000cbcc26 void llvm::function_ref<void (swift::Expr*)>::callback_fn<swift::Lowering::RValue swift::Lowering::SILGenFunction::emitOpenExistentialExpr<swift::Lowering::RValue, (anonymous namespace)::RValueEmitter::visitOpenEx