Commit Graph

1570 Commits

Author SHA1 Message Date
Slava Pestov
c543838854 Sema: Rewrite partial applications into closures
When a method is called with fewer than two parameter lists,
transform it into a fully-applied call by wrapping it in a
closure.

Eg,

Foo.bar => { self in { args... self.bar(args...) } }
foo.bar => { self in { args... self.bar(args...) } }(self)

super.bar => { args... in super.bar(args...) }

With this change, SILGen only ever sees fully-applied calls,
which will allow ripping out some code.

This new way of doing curry thunks fixes a long-standing bug
where unbound references to protocol methods did not work.

This is because such a reference must open the existential
*inside* the closure, after 'self' has been applied, whereas
the old SILGen implementation of curry thunks really wanted
the type of the method reference to match the opened type of
the method.

A follow-up cleanup will remove the SILGen curry thunk
implementation.

Fixes rdar://21289579 and https://bugs.swift.org/browse/SR-75.
2020-03-18 09:29:22 -04:00
Luciano Almeida
7557f29a27 Reverting file location 2019-06-26 17:49:47 -03:00
Luciano Almeida
6331e9a1cd Reverting file location 2019-06-26 17:49:23 -03:00
Luciano Almeida
2ef18488d6 Walking through the expr to set the types and type variables in the constraint system before add convertion constraint 2019-05-27 22:57:56 -03:00
Alexis Laferrière
bddb40dacf GSB: ignore generic types in expandConformanceRequirement
Fixes crashes in 28437-swift-typechecker-validatedecl.swift (from previous commit)
and the compiler crasher 28861-gpdecl-getdepth-generictypeparamdecl-
invaliddepth-parameter-hasnt-been-validated.swift.
2019-04-30 10:43:23 -07:00
Saleem Abdulrasool
149f6b6b81 test: disable test for incorrect behaviour
This test is testing that the verifier aborts on invalid input.
SR-10459
2019-04-11 18:54:02 -07:00
Stephen Canon
28962b5754 Move most of the simd operators into an optional module (#20914)
* Move most of the simd operators into an optional module

Adding simd to the stdlib caused some typechecker regressions. We can resolve them in the near-term by making the types universally available, but moving the arithmetic operators into a separate module that must be explicitly imported.

* Move two fuzzing tests back to fixed.

* Add SIMDOperators as a dependency for MediaPlayer.

* Move the .-prefixed operator declarations back into the stdlib.
2018-11-30 16:30:15 -05:00
Stephen Canon
fb8b9e143d SIMD into stdlib
Implements SE-0229.

Also updates simd module types in the Apple SDKs to use the new types, and updates a couple tests to work with the new types and protocols.
2018-11-29 17:09:01 -05:00
Doug Gregor
de18384d89 [AST] Don’t deserialize members of @objc protocol looking for associated types
Thanks to @slavapestov for pointing this out! The optimization to avoid
looking through the members of a protocol that can’t possibly have any
associated types was for both deserialized protocols and imported
protocols, but I only supported the former in my previous change. Check
both cases and make the reasons much more obvious.

Also, that change resolved an existing compiler crasher as well.
2018-10-06 22:08:45 -07:00
Huon Wilson
ea1560f43b [AST] Member lookup in the GSB needs to understand equivalence classes with concrete types.
A constraint like `Parameter == SomethingConcrete` means references to
`Parameter` in that context behave like `SomethingConcrete`, including for name
resolution. Handling the parameter as just a parameter type means that it won't
find any non-protocol nested types (i.e. things other than associated types and
protocol typealiases are invisible).

Fixes rdar://problem/42136457 and SR-8240.
2018-07-17 22:54:22 +10:00
Slava Pestov
d4782b0fab Sema: Another validateDeclForNameLookup() state transition bug 2018-07-10 17:01:12 -07:00
Slava Pestov
8cd89bd709 Sema: Fix archetype vs interface type mixup with type in generic function 2018-07-10 17:01:12 -07:00
Slava Pestov
00b3ce18ca AST: Fix crash when doing name lookup into class with circular inheritance 2018-07-10 17:01:12 -07:00
Slava Pestov
559c0fd33d AST: Remove assertion in typo correction
CSDiag can try doing lookups on unbound generic types, so just remove this
assertion.
2018-07-10 17:01:12 -07:00
Slava Pestov
4878889c1e Sema: Better fix for <rdar://problem/36449760> 2018-07-10 17:01:12 -07:00
Slava Pestov
3ae11e6536 Sema: Fix a recusive validation crasher 2018-07-10 17:01:12 -07:00
Slava Pestov
ef864094b8 Sema: Fix crash when accessing nominal member of protocol 2018-07-10 17:01:12 -07:00
Slava Pestov
4fa4133134 Sema: Fix crash with UnresolvedType in coerceExistential()
Fixes <rdar://problem/34357545>.
2018-07-10 17:01:12 -07:00
Slava Pestov
381483bd74 AST: Remove Expr's LValueAccessKind 2018-07-05 23:54:13 -07:00
Doug Gregor
f4359b73f9 Merge pull request #17729 from DougGregor/minimize-override-checking
[Type checker] Minimize checking needed to compute the set of overridden declarations
2018-07-05 06:38:46 -07:00
Doug Gregor
7279eeeeac [Type checker] Perform more minimal checking in resolveOverriddenDecl().
Rather than deferring to the heavyweight validateDeclForNameLookup()
to perform the “get overridden decls” operation, perform a much more
minimal validation that only looks for exact matches when the ‘override’
modifier is present.

The more-extensive checking (e.g., that one didn’t forget an override
modifier) is only performed as part of the “full” type checking of
a declaration, which will typically only be done within the same source
file as the declaration. The intent here is to reduce the amount of
work performed to check overrides cross-file, and limit the dependencies
of the “get overridden decls” operation.
2018-07-03 17:26:38 -07:00
Slava Pestov
80232e8c49 Resolve a disabled compiler crasher fixed by my recent inheritance clause changes
Fixes <rdar://problem/38932729>.
2018-07-03 15:42:31 -07:00
John McCall
9bee3cac5a Generalize storage implementations to support generalized accessors.
The storage kind has been replaced with three separate "impl kinds",
one for each of the basic access kinds (read, write, and read/write).
This makes it far easier to mix-and-match implementations of different
accessors, as well as subtleties like implementing both a setter
and an independent read/write operation.

AccessStrategy has become a bit more explicit about how exactly the
access should be implemented.  For example, the accessor-based kinds
now carry the exact accessor intended to be used.  Also, I've shifted
responsibilities slightly between AccessStrategy and AccessSemantics
so that AccessSemantics::Ordinary can be used except in the sorts of
semantic-bypasses that accessor synthesis wants.  This requires
knowing the correct DC of the access when computing the access strategy;
the upshot is that SILGenFunction now needs a DC.

Accessor synthesis has been reworked so that only the declarations are
built immediately; body synthesis can be safely delayed out of the main
decl-checking path.  This caused a large number of ramifications,
especially for lazy properties, and greatly inflated the size of this
patch.  That is... really regrettable.  The impetus for changing this
was necessity: I needed to rework accessor synthesis to end its reliance
on distinctions like Stored vs. StoredWithTrivialAccessors, and those
fixes were exposing serious re-entrancy problems, and fixing that... well.
Breaking the fixes apart at this point would be a serious endeavor.
2018-06-30 05:19:03 -04:00
Doug Gregor
ac9b3cb936 Update a few recently-resolved crashers. 2018-06-16 08:41:00 -06:00
Doug Gregor
ebd774bcd1 [Sema] Eliminate the last use of the IterativeTypeChecker.
Implement TypeChecker::resolveInheritedProtocols() in terms of
"getInheritedType()" queries, instead.

[Sema] Put back resolveInheritedProtocols().

We're still depending on it to update state in some cases.
2018-06-14 15:29:57 -07:00
Doug Gregor
2b2e143f59 [Request-Evaluator] Introduce a request for getting an "inherited type". 2018-06-14 15:29:57 -07:00
Pavel Yaskevich
11ba7e0f42 [CSSimplify] When trying to simplify bind with error type fail gracefully
Since member lookup doesn't check requirements
it might sometimes return types which are not
visible in the current context e.g. typealias
defined in constrained extension, substitution
of which might produce error type for base, so
assignement should thead lightly and just fail
if it encounters such types.

Resolves: rdar://problem/39931339
Resolves: SR-5013
2018-05-28 00:24:54 -07:00
Doug Gregor
539c352353 [GenericSignatureBuilder] Block recursion through getTypeInContext().
We could end up recursing through getTypeInContext() before we had time to
diagnose the recursion, so be *certain* that we can't recurse here to fix
a few crashes.
2018-05-03 18:11:35 -07:00
Pavel Yaskevich
01312d9623 Merge pull request #16276 from xedin/add-implicit-inits-with-getparams
[Sema] Refactor member type matching from `checkOverrides` to make it reusable
2018-05-03 00:16:24 -07:00
Pavel Yaskevich
394ac6f4f1 [AST] lookupSubstition should produce nothing if there are not substitutions
If `SubstitutionMap` is empty there is nothing to replace so
we should always return empty substitution type and/or conformance ref.
2018-05-02 15:11:25 -07:00
Doug Gregor
bc5bbe8b64 [AST] Use SubstitutionMap, not SubstitutionList, in SILBoxType.
Eliminate the last place in the AST proper that stores
SubstitutionLists rather than SubstitutionMaps. Randomly fixes a
crasher, too.
2018-05-02 13:39:21 -07:00
Robert Widmann
9973b31d5b Skip invalid declarations in SourceLookupCache
Crashers 28598 and 28778 are creating invalid validation requests for the ITC
by using unqualified lookup to get the validator to jump inside of a
transitively invalid DeclContext.

Just don't load these members.
2018-04-16 13:10:34 +02:00
Pavel Yaskevich
3ba6ad654b [TypeChecker] Fix lookup of the dependent type through typealias
While trying to resolve nested type component with type parameter
as a parent, try to resolve it as dependent member directly but
if that fails go through longer resolution path which is required
in case member type is accessed using `typealias`.

Resolves: rdar://problem/39253925
2018-04-09 16:01:37 -07:00
David Zarzycki
67710606e6 [Parse] Move tok::amp_prefix closer to parameter list logic
The amp_prefix token is currently tolerated in any unary expression
context and then diagnosed later by Sema. This patch changes parsing to
only accept tok::amp_prefix in its allowed position: parameter lists.

This also fixes two "compiler crasher" tests.
2018-03-30 17:56:36 -04:00
Mark Lacey
784df65753 Disable a test that seems to infinitely recurse on a diagnostic sometimes.
Once the associated bug is fixed we can re-enable.
2018-03-27 16:31:16 -07:00
Doug Gregor
325fdd2f12 [AST] Don’t propagate all recursive properties to BoundNameAliasType.
With the exception of “has type variable”, which affects the arena used
for storage of a BoundNameAliasType, only propagate recursive properties
from the underlying type to a BoundNameAliasType, because the other
properties (e.g., “has archetype” or “has type parameter”) pulled from
syntactic sugar don’t apply.
2018-03-25 20:46:07 -07:00
Doug Gregor
3dfd7377ef Merge pull request #15416 from DougGregor/generic-typealias-sugar
[AST] Preserve type sugar for generic typealiases
2018-03-22 13:15:46 -07:00
Slava Pestov
a6ff28285c Sema: Move most of DeclChecker::visitFuncDecl() to validateDecl() 2018-03-21 23:54:48 -07:00
Doug Gregor
e6c91b3985 Start using BoundNameAliasType for non-generic typealiases in generic contexts
Currently, when we reference a (non-generic) typealias within a
generic context, we would completely lose type sugar for the
typealias, replacing it with the underlying type. Instead, use
BoundNameAliasType for this purpose, which allows us to maintain all
of the type sugar as well as storing complete substitutions for later
use.
2018-03-21 23:49:33 -07:00
Slava Pestov
f9f5ebbba9 Sema: Remove DeclChecker::IsSecondPass
The DeclChecker had three possible states:

- IsFirstPass true, IsSecondPass false. This is the 'first pass' for
  declarations that appear at the top-level, or are nested inside
  top-level types.

- IsFirstPass false, IsSecondPass true. This is the 'second pass' for
  declarations that appear at the top-level, or are nested inside
  top-level types.

- IsFirstPass false, IsSecondPass false. This was used for (some)
  local declarations.

This is unnecessarily confusing. We can eliminate the third state
by calling typeCheckDecl() twice in a few places. This allows
IsSecondPass to be removed entirely since it's now always equal to
!IsFirstPass.
2018-03-21 21:41:38 -07:00
Pavel Yaskevich
8c17b925e6 [ConstraintSystem] Add TypeLoc caching to constraint system
This is useful for explicit casts and type expressions, where
type loc and expression types might be different, and allows
constraint solver to avoid setting opened types to expressions
which resolves multiple crashes.
2018-02-13 00:08:56 -08:00
Pavel Yaskevich
c6ff7b40cc [CSBindings] Look through optional types when trying to validate l-valueness of the new bindings
When bindings are picked for particular type variable, right-hand
side of the binding might be another type variable wrapped into optional
type, when trying to determine if both sides of the binding have the
same l-valueness it's imperative to look throught optional type of the
right-hand side. Otherwise new binding might be effectively unsolvable.

Resolves: rdar://problem/37291371
2018-02-08 01:55:39 -08:00
Huon Wilson
9aed3e83a8 [GSB] Infer requirements from parents of types.
A type Foo<...>.Bar may only exist conditionally (i.e. constraints on the
generic parameters of Foo), in which case those conditional requirements
should be implied when Foo<...>.Bar is mentioned.

Fixes SR-6850.
2018-02-02 08:44:30 +11:00
Doug Gregor
24aa030f0c [Associated type inference] Break recursive inference and fail predictably.
There was a path through associated type inference where we would end
up recording a type witness that contained an error, but for which we
had not reported that error, which would lead to downstream
crashes. Make sure that we reject such inferences.

And because it triggers once we fix this issue... make sure break
recursion when trying to resolve type witnesses lazily.

Fixes the crash in SR-6609 / rdar://problem/36038033, but we're still
failing to infer in those cases.
2018-01-24 15:58:26 -08:00
Doug Gregor
b11d5447c6 Merge pull request #13643 from DougGregor/redecl-fewer-validations
[Type checker] Make redeclaration checking validate fewer declarations.
2017-12-31 20:20:53 -08:00
Doug Gregor
8b58b0dbb4 [Type checker] Make redeclaration checking validate fewer declarations.
Redeclaration checking was validating all declarations with the same
base name as the given declaration (and in the same general nominal
type), even when it was trivial to determine that the declarations
could not be conflicting. Separate out the easy structural checks
(based on kind, full name, instance vs. non-instance member, etc.) and
perform those first, before validation.

Fixes SR-6558, a case where redeclaration checking caused some
unnecessary recursion in the type checker.
2017-12-30 23:27:04 -08:00
practicalswift
bd56d0c83f [swiftc (58 vs. 5619)] Add crasher in swift::ArchetypeType::resolveNestedType
Add test case for crash triggered in `swift::ArchetypeType::resolveNestedType`.

Current number of unresolved compiler crashers: 58 (5619 resolved)

/cc @DougGregor - just wanted to let you know that this crasher caused an assertion failure for the assertion `!nested.second || nested.second->isEqual(result) || (nested.second->hasError() && result->hasError())` added on 2016-11-29 by you in commit 95f1aaf4 :-)

Assertion failure in [`lib/AST/GenericSignatureBuilder.cpp (line 2748)`](066762a77f/lib/AST/GenericSignatureBuilder.cpp (L2748)):

```
Assertion `!nested.second || nested.second->isEqual(result) || (nested.second->hasError() && result->hasError())' failed.

When executing: void swift::ArchetypeType::resolveNestedType(std::pair<Identifier, Type> &) const
```

Assertion context:

```c++
                                  memberInterfaceType,
                                  ArchetypeResolutionKind::CompleteWellFormed);
  auto result = equivClass->getTypeInContext(builder, genericEnv);
  assert(!nested.second ||
         nested.second->isEqual(result) ||
         (nested.second->hasError() && result->hasError()));
  nested.second = result;
}

Type GenericSignatureBuilder::PotentialArchetype::getDependentType(
                        ArrayRef<GenericTypeParamType *> genericParams) const {
```
Stack trace:

```
0 0x0000000003f3bfe4 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3f3bfe4)
1 0x0000000003f3c326 SignalHandler(int) (/path/to/swift/bin/swift+0x3f3c326)
2 0x00007fc48086d390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
3 0x00007fc47ed92428 gsignal /build/glibc-bfm8X4/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
4 0x00007fc47ed9402a abort /build/glibc-bfm8X4/glibc-2.23/stdlib/abort.c:91:0
5 0x00007fc47ed8abd7 __assert_fail_base /build/glibc-bfm8X4/glibc-2.23/assert/assert.c:92:0
6 0x00007fc47ed8ac82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
7 0x00000000016eaaa0 swift::ArchetypeType::resolveNestedType(std::pair<swift::Identifier, swift::Type>&) const (/path/to/swift/bin/swift+0x16eaaa0)
8 0x000000000174cce4 swift::ArchetypeType::getNestedType(swift::Identifier) const (/path/to/swift/bin/swift+0x174cce4)
9 0x000000000174e2e9 getMemberForBaseType(llvm::function_ref<llvm::Optional<swift::ProtocolConformanceRef> (swift::CanType, swift::Type, swift::ProtocolType*)>, swift::Type, swift::Type, swift::AssociatedTypeDecl*, swift::Identifier, swift::SubstOptions) (/path/to/swift/bin/swift+0x174e2e9)
10 0x0000000001753f3f llvm::Optional<swift::Type> llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>::callback_fn<substType(swift::Type, llvm::function_ref<swift::Type (swift::SubstitutableType*)>, llvm::function_ref<llvm::Optional<swift::ProtocolConformanceRef> (swift::CanType, swift::Type, swift::ProtocolType*)>, swift::SubstOptions)::$_18>(long, swift::TypeBase*) (/path/to/swift/bin/swift+0x1753f3f)
11 0x0000000001750432 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x1750432)
12 0x000000000174ed69 substType(swift::Type, llvm::function_ref<swift::Type (swift::SubstitutableType*)>, llvm::function_ref<llvm::Optional<swift::ProtocolConformanceRef> (swift::CanType, swift::Type, swift::ProtocolType*)>, swift::SubstOptions) (/path/to/swift/bin/swift+0x174ed69)
13 0x0000000001749bfb swift::Type::subst(swift::SubstitutionMap const&, swift::SubstOptions) const (/path/to/swift/bin/swift+0x1749bfb)
14 0x00000000013751b2 swift::TypeChecker::substMemberTypeWithBase(swift::ModuleDecl*, swift::TypeDecl*, swift::Type) (/path/to/swift/bin/swift+0x13751b2)
15 0x0000000001374f03 swift::TypeChecker::resolveTypeInContext(swift::TypeDecl*, swift::DeclContext*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0x1374f03)
16 0x000000000137dff7 resolveTypeDecl(swift::TypeChecker&, swift::TypeDecl*, swift::SourceLoc, swift::DeclContext*, swift::DeclContext*, swift::GenericIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x137dff7)
17 0x000000000137cd5f resolveTopLevelIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x137cd5f)
18 0x0000000001376d7c resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1376d7c)
19 0x0000000001376754 swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1376754)
20 0x00000000013774d1 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x13774d1)
21 0x00000000013773dc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13773dc)
22 0x0000000001375c99 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1375c99)
23 0x00000000012f19cb swift::TypeChecker::validateDecl(swift::ValueDecl*) (/path/to/swift/bin/swift+0x12f19cb)
24 0x000000000130165e (anonymous namespace)::DeclChecker::visitAssociatedTypeDecl(swift::AssociatedTypeDecl*) (/path/to/swift/bin/swift+0x130165e)
25 0x00000000012efb2a (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12efb2a)
26 0x00000000013032db (anonymous namespace)::DeclChecker::visitProtocolDecl(swift::ProtocolDecl*) (/path/to/swift/bin/swift+0x13032db)
27 0x00000000012efb5a (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12efb5a)
28 0x00000000012efa03 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) (/path/to/swift/bin/swift+0x12efa03)
29 0x0000000001386bd2 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int) (/path/to/swift/bin/swift+0x1386bd2)
30 0x0000000001092284 swift::CompilerInstance::parseAndTypeCheckMainFile(swift::PersistentParserState&, swift::DelayedParsingCallbacks*, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>) (/path/to/swift/bin/swift+0x1092284)
31 0x000000000109122e swift::CompilerInstance::parseAndCheckTypes(swift::CompilerInstance::ImplicitImports const&) (/path/to/swift/bin/swift+0x109122e)
32 0x0000000001090bda swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x1090bda)
33 0x00000000004c88de performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/path/to/swift/bin/swift+0x4c88de)
34 0x00000000004c762a swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x4c762a)
35 0x000000000047ff84 main (/path/to/swift/bin/swift+0x47ff84)
36 0x00007fc47ed7d830 __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:325:0
37 0x000000000047d839 _start (/path/to/swift/bin/swift+0x47d839)
```
2017-12-23 02:33:16 +01:00
practicalswift
eb54d4d08a [swiftc (57 vs. 5619)] Add crasher in swift::AssociatedTypeDecl::getOverriddenDecls(...)
Add test case for crash triggered in `swift::AssociatedTypeDecl::getOverriddenDecls(...)`.

Current number of unresolved compiler crashers: 57 (5619 resolved)

Stack trace:

```
0 0x0000000003f3abd4 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3f3abd4)
1 0x0000000003f3af16 SignalHandler(int) (/path/to/swift/bin/swift+0x3f3af16)
2 0x00007fed44cdf390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
3 0x0000000001606cca swift::AssociatedTypeDecl::getOverriddenDecls() const (/path/to/swift/bin/swift+0x1606cca)
4 0x00000000016b3250 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3250)
5 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
6 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
7 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
8 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
9 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
10 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
11 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
12 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
13 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
14 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
15 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
16 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
17 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
18 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
19 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
20 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
21 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
22 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
23 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
24 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
25 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
26 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
27 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
28 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
29 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
30 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
31 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
32 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
33 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
34 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
35 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
36 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
37 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
38 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
39 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
40 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
41 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
42 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
43 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
44 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
45 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
46 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
47 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
48 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
49 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
50 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
51 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
52 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
53 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
54 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
55 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
56 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
57 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
58 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
59 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
60 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
61 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
62 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
63 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
64 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
65 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
66 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
67 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
68 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
69 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
70 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
71 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
72 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
73 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
74 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
75 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
76 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
77 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
78 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
79 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
80 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
81 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
82 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
83 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
84 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
85 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
86 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
87 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
88 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
89 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
90 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
91 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
92 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
93 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
94 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
95 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
96 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
97 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
98 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
99 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
100 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
101 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
102 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
103 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
104 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
105 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
106 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
107 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
108 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
109 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
110 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
111 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
112 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
113 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
114 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
115 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
116 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
117 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
118 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
119 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
120 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
121 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
122 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
123 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
124 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
125 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
126 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
127 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
128 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
129 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
130 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
131 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
132 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
133 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
134 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
135 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
136 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
137 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
138 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
139 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
140 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
141 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
142 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
143 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
144 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
145 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
146 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
147 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
148 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
149 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
150 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
151 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
152 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
153 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
154 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
155 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
156 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
157 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
158 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
159 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
160 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
161 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
162 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
163 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
164 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
165 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
166 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
167 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
168 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
169 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
170 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
171 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
172 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
173 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
174 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
175 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
176 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
177 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
178 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
179 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
180 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
181 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
182 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
183 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
184 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
185 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
186 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
187 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
188 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
189 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
190 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
191 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
192 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
193 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
194 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
195 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
196 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
197 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
198 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
199 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
200 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
201 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
202 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
203 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
204 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
205 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
206 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
207 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
208 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
209 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
210 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
211 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
212 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
213 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
214 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
215 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
216 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
217 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
218 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
219 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
220 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
221 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
222 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
223 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
224 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
225 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
226 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
227 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
228 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
229 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
230 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
231 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
232 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
233 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
234 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
235 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
236 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
237 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
238 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
239 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
240 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
241 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
242 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
243 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
244 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
245 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
246 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
247 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
248 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
249 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
250 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
251 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
252 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
253 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
254 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
255 0x00000000016b3278 swift::AssociatedTypeDecl::getAssociatedTypeAnchor() const (/path/to/swift/bin/swift+0x16b3278)
```
2017-12-23 00:44:23 +01:00
practicalswift
62a7f8e825 [swiftc (56 vs. 5619)] Add crasher in swift::DiagnosticEngine::formatDiagnosticText
Add test case for crash triggered in `swift::DiagnosticEngine::formatDiagnosticText`.

Current number of unresolved compiler crashers: 56 (5619 resolved)

Stack trace:

```
0 0x0000000003f3abd4 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3f3abd4)
1 0x0000000003f3af16 SignalHandler(int) (/path/to/swift/bin/swift+0x3f3af16)
2 0x00007f17869bf390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
3 0x00007f1784ef9d6b scratch_buffer_init /build/glibc-bfm8X4/glibc-2.23/stdio-common/../include/scratch_buffer.h:78:0
4 0x00007f1784ef9d6b printf_positional /build/glibc-bfm8X4/glibc-2.23/stdio-common/vfprintf.c:1703:0
5 0x00007f1784efc4a6 _IO_vfprintf /build/glibc-bfm8X4/glibc-2.23/stdio-common/vfprintf.c:1677:0
6 0x00007f1784f25a49 vsnprintf /build/glibc-bfm8X4/glibc-2.23/libio/vsnprintf.c:116:0
7 0x00007f1784f04932 snprintf /build/glibc-bfm8X4/glibc-2.23/stdio-common/snprintf.c:37:0
8 0x0000000003f1a5d6 llvm::raw_ostream::operator<<(llvm::format_object_base const&) (/path/to/swift/bin/swift+0x3f1a5d6)
9 0x00000000016c4b7b swift::DiagnosticEngine::formatDiagnosticText(llvm::raw_ostream&, llvm::StringRef, llvm::ArrayRef<swift::DiagnosticArgument>, swift::DiagnosticFormatOptions) (/path/to/swift/bin/swift+0x16c4b7b)
10 0x0000000001094c8e swift::PrintingDiagnosticConsumer::handleDiagnostic(swift::SourceManager&, swift::SourceLoc, swift::DiagnosticKind, llvm::StringRef, llvm::ArrayRef<swift::DiagnosticArgument>, swift::DiagnosticInfo const&) (/path/to/swift/bin/swift+0x1094c8e)
11 0x00000000016c727a swift::DiagnosticEngine::emitDiagnostic(swift::Diagnostic const&) (/path/to/swift/bin/swift+0x16c727a)
12 0x00000000016c411f swift::DiagnosticEngine::flushActiveDiagnostic() (/path/to/swift/bin/swift+0x16c411f)
13 0x0000000001377181 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377181)
14 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
15 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
16 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
17 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
18 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
19 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
20 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
21 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
22 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
23 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
24 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
25 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
26 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
27 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
28 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
29 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
30 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
31 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
32 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
33 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
34 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
35 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
36 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
37 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
38 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
39 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
40 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
41 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
42 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
43 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
44 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
45 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
46 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
47 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
48 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
49 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
50 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
51 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
52 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
53 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
54 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
55 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
56 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
57 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
58 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
59 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
60 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
61 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
62 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
63 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
64 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
65 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
66 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
67 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
68 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
69 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
70 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
71 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
72 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
73 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
74 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
75 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
76 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
77 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
78 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
79 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
80 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
81 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
82 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
83 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
84 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
85 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
86 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
87 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
88 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
89 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
90 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
91 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
92 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
93 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
94 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
95 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
96 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
97 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
98 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
99 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
100 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
101 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
102 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
103 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
104 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
105 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
106 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
107 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
108 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
109 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
110 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
111 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
112 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
113 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
114 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
115 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
116 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
117 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
118 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
119 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
120 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
121 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
122 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
123 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
124 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
125 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
126 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
127 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
128 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
129 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
130 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
131 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
132 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
133 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
134 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
135 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
136 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
137 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
138 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
139 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
140 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
141 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
142 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
143 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
144 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
145 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
146 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
147 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
148 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
149 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
150 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
151 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
152 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
153 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
154 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
155 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
156 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
157 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
158 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
159 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
160 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
161 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
162 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
163 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
164 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
165 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
166 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
167 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
168 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
169 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
170 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
171 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
172 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
173 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
174 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
175 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
176 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
177 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
178 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
179 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
180 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
181 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
182 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
183 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
184 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
185 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
186 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
187 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
188 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
189 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
190 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
191 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
192 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
193 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
194 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
195 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
196 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
197 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
198 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
199 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
200 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
201 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
202 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
203 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
204 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
205 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
206 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
207 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
208 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
209 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
210 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
211 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
212 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
213 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
214 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
215 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
216 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
217 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
218 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
219 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
220 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
221 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
222 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
223 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
224 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
225 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
226 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
227 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
228 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
229 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
230 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
231 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
232 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
233 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
234 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
235 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
236 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
237 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
238 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
239 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
240 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
241 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
242 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
243 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
244 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
245 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
246 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
247 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
248 0x00000000013761cc swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x13761cc)
249 0x0000000001374a89 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0x1374a89)
250 0x0000000001441ceb swift::IterativeTypeChecker::processResolveInheritedClauseEntry(std::pair<llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int>, llvm::function_ref<bool (swift::TypeCheckRequest)>) (/path/to/swift/bin/swift+0x1441ceb)
251 0x000000000140ac26 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) (/path/to/swift/bin/swift+0x140ac26)
252 0x00000000012e6769 swift::TypeChecker::resolveInheritanceClause(llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>) (/path/to/swift/bin/swift+0x12e6769)
253 0x00000000016b4fb5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x16b4fb5)
254 0x0000000001745e10 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x1745e10)
255 0x000000000174766a swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x174766a)
256 0x0000000001377c2d (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0x1377c2d)
```
2017-12-22 22:54:45 +01:00
practicalswift
fe1b153cba [swiftc (55 vs. 5619)] Add crasher in swift::Type
Add test case for crash triggered in `swift::Type`.

Current number of unresolved compiler crashers: 55 (5619 resolved)

/cc @slavapestov - just wanted to let you know that this crasher caused an assertion failure for the assertion `known != typeBindings.end()` added on 2017-01-19 by you in commit 8de0ca54 :-)

Assertion failure in [`lib/Sema/ConstraintSystem.cpp (line 1807)`](08c4f5106b/lib/Sema/ConstraintSystem.cpp (L1807)):

```
Assertion `known != typeBindings.end()' failed.

When executing: auto swift::constraints::Solution::simplifyType(swift::Type)::(anonymous class)::operator()(swift::TypeVariableType *) const
```

Assertion context:

```c++
  // Map type variables to fixed types from bindings.
  return simplifyTypeImpl(
      getConstraintSystem(), type,
      [&](TypeVariableType *tvt) -> Type {
        auto known = typeBindings.find(tvt);
        assert(known != typeBindings.end());
        return known->second;
      });
}

size_t Solution::getTotalMemory() const {
```
Stack trace:

```
0 0x0000000003f3abd4 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3f3abd4)
1 0x0000000003f3af16 SignalHandler(int) (/path/to/swift/bin/swift+0x3f3af16)
2 0x00007f53ba016390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
3 0x00007f53b853b428 gsignal /build/glibc-bfm8X4/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
4 0x00007f53b853d02a abort /build/glibc-bfm8X4/glibc-2.23/stdlib/abort.c:91:0
5 0x00007f53b8533bd7 __assert_fail_base /build/glibc-bfm8X4/glibc-2.23/assert/assert.c:92:0
6 0x00007f53b8533c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
7 0x00000000012c3523 swift::Type llvm::function_ref<swift::Type (swift::Type)>::callback_fn<swift::Type simplifyTypeImpl<swift::constraints::Solution::simplifyType(swift::Type) const::$_7>(swift::constraints::ConstraintSystem&, swift::Type, swift::constraints::Solution::simplifyType(swift::Type) const::$_7)::{lambda(swift::Type)#1}>(long, swift::Type) (/path/to/swift/bin/swift+0x12c3523)
8 0x0000000001755dd6 llvm::Optional<swift::Type> llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>::callback_fn<swift::Type::transform(llvm::function_ref<swift::Type (swift::Type)>) const::$_15>(long, swift::TypeBase*) (/path/to/swift/bin/swift+0x1755dd6)
9 0x000000000174f022 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x174f022)
10 0x000000000174f25e swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x174f25e)
11 0x000000000174f577 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x174f577)
12 0x0000000001743b07 swift::Type::transform(llvm::function_ref<swift::Type (swift::Type)>) const (/path/to/swift/bin/swift+0x1743b07)
13 0x00000000012c08bf swift::constraints::Solution::simplifyType(swift::Type) const (/path/to/swift/bin/swift+0x12c08bf)
14 0x00000000012d7181 swift::TypeChecker::getTypeOfExpressionWithoutApplying(swift::Expr*&, swift::DeclContext*, swift::ConcreteDeclRef&, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*) (/path/to/swift/bin/swift+0x12d7181)
15 0x00000000013cb9a8 (anonymous namespace)::FailureDiagnosis::diagnoseParameterErrors(swift::CalleeCandidateInfo&, swift::Expr*, swift::Expr*, llvm::ArrayRef<swift::Identifier>) (/path/to/swift/bin/swift+0x13cb9a8)
16 0x00000000013d1069 (anonymous namespace)::FailureDiagnosis::visitApplyExpr(swift::ApplyExpr*) (/path/to/swift/bin/swift+0x13d1069)
17 0x00000000013b8506 swift::ASTVisitor<(anonymous namespace)::FailureDiagnosis, bool, void, void, void, void, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0x13b8506)
18 0x00000000013b2282 swift::constraints::ConstraintSystem::diagnoseFailureForExpr(swift::Expr*) (/path/to/swift/bin/swift+0x13b2282)
19 0x00000000013b82c6 swift::constraints::ConstraintSystem::salvage(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::Expr*) (/path/to/swift/bin/swift+0x13b82c6)
20 0x00000000012d3008 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/path/to/swift/bin/swift+0x12d3008)
21 0x00000000012d6cf2 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) (/path/to/swift/bin/swift+0x12d6cf2)
22 0x0000000001364886 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0x1364886)
23 0x0000000001363956 (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) (/path/to/swift/bin/swift+0x1363956)
24 0x0000000001362bc1 swift::TypeChecker::typeCheckFunctionBodyUntil(swift::FuncDecl*, swift::SourceLoc) (/path/to/swift/bin/swift+0x1362bc1)
25 0x0000000001362a75 swift::TypeChecker::typeCheckAbstractFunctionBodyUntil(swift::AbstractFunctionDecl*, swift::SourceLoc) (/path/to/swift/bin/swift+0x1362a75)
26 0x0000000001363632 swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0x1363632)
27 0x0000000001384cee typeCheckFunctionsAndExternalDecls(swift::TypeChecker&) (/path/to/swift/bin/swift+0x1384cee)
28 0x0000000001385abd swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int) (/path/to/swift/bin/swift+0x1385abd)
29 0x00000000010911c4 swift::CompilerInstance::parseAndTypeCheckMainFile(swift::PersistentParserState&, swift::DelayedParsingCallbacks*, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>) (/path/to/swift/bin/swift+0x10911c4)
30 0x000000000109016e swift::CompilerInstance::parseAndCheckTypes(swift::CompilerInstance::ImplicitImports const&) (/path/to/swift/bin/swift+0x109016e)
31 0x000000000108fb1a swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x108fb1a)
32 0x00000000004c88de performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/path/to/swift/bin/swift+0x4c88de)
33 0x00000000004c762a swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x4c762a)
34 0x000000000047ff84 main (/path/to/swift/bin/swift+0x47ff84)
35 0x00007f53b8526830 __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:325:0
36 0x000000000047d839 _start (/path/to/swift/bin/swift+0x47d839)
```
2017-12-22 21:08:33 +01:00