Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Assertion failed: (!refType->hasTypeParameter() && "Cannot have a dependent type here"), function resolveOverload, file /Users/stephencelis/Developer/_swift/swift/lib/Sema/ConstraintSystem.cpp, line 1406.
0 swift 0x000000011419fd8e llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
1 swift 0x00000001141a01d9 PrintStackTraceSignalHandler(void*) + 25
2 swift 0x000000011419c979 llvm::sys::RunSignalHandlers() + 425
3 swift 0x00000001141a0539 SignalHandler(int) + 345
4 libsystem_platform.dylib 0x00007fff9f9d3eaa _sigtramp + 26
5 swift 0x0000000114ca5b63 cmark_strbuf__initbuf + 100114
6 swift 0x00000001141a01fb raise + 27
7 swift 0x00000001141a02b2 abort + 18
8 swift 0x00000001141a0291 __assert_rtn + 129
9 swift 0x000000010f680032 swift::constraints::ConstraintSystem::resolveOverload(swift::constraints::ConstraintLocator*, swift::Type, swift::constraints::OverloadChoice) + 3106
10 swift 0x000000010f79edec swift::constraints::ConstraintSystem::simplifyConstraint(swift::constraints::Constraint const&) + 1756
11 swift 0x000000010f67aba1 swift::constraints::ConstraintSystem::addConstraint(swift::constraints::Constraint*, bool, bool) + 65
12 swift 0x000000010f67f3dd swift::constraints::ConstraintSystem::addOverloadSet(swift::Type, llvm::ArrayRef<swift::constraints::OverloadChoice>, swift::constraints::ConstraintLocator*, swift::constraints::OverloadChoice*) + 669
13 swift 0x000000010f79d1f9 swift::constraints::ConstraintSystem::simplifyMemberConstraint(swift::constraints::Constraint const&) + 745
14 swift 0x000000010f79f047 swift::constraints::ConstraintSystem::simplifyConstraint(swift::constraints::Constraint const&) + 2359
15 swift 0x000000010f67aba1 swift::constraints::ConstraintSystem::addConstraint(swift::constraints::Constraint*, bool, bool) + 65
16 swift 0x000000010f777518 swift::constraints::ConstraintSystem::addValueMemberConstraint(swift::Type, swift::DeclName, swift::Type, swift::constraints::ConstraintLocator*) + 296
17 swift 0x000000010f76f699 (anonymous namespace)::ConstraintGenerator::addSubscriptConstraints(swift::Expr*, swift::Expr*, swift::Expr*, swift::ValueDecl*) + 1673
18 swift 0x000000010f76c369 (anonymous namespace)::ConstraintGenerator::visitSubscriptExpr(swift::SubscriptExpr*) + 185
19 swift 0x000000010f75774c swift::ASTVisitor<(anonymous namespace)::ConstraintGenerator, swift::Type, void, void, void, void, void>::visit(swift::Expr*) + 1036
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment