Revision c6a43759687ee7c96417cb14c5e817ac0cf22d95 authored by gregomni on 06 January 2016, 21:02:36 UTC, committed by gregomni on 10 January 2016, 06:40:01 UTC
If a BoundGenericType is unable to get a substitution for an archetype it uses ErrorType as the replacement (Module.cpp:705). In such a case we should report DoesNotConform in lookupConformance(), which ends up generating reasonable error messages. Prior to this change the conformance would succeed and then IRGen would crash on emitting an ErrorType during emitForeignTypeMetadataRef(). Also added test that tickles crash near the same place as SR-427.
1 parent f182d39
File | Mode | Size |
---|---|---|
apinotes | ||
benchmark | ||
bindings | ||
cmake | ||
docs | ||
include | ||
lib | ||
stdlib | ||
test | ||
tools | ||
unittests | ||
utils | ||
validation-test | ||
.clang-format | -rw-r--r-- | 19 bytes |
.dir-locals.el | -rw-r--r-- | 1.8 KB |
.gitignore | -rw-r--r-- | 1.6 KB |
CHANGELOG.md | -rw-r--r-- | 169.3 KB |
CMakeLists.txt | -rw-r--r-- | 24.3 KB |
CODE_OWNERS.TXT | -rw-r--r-- | 1.2 KB |
CONTRIBUTING.md | -rw-r--r-- | 468 bytes |
LICENSE.txt | -rw-r--r-- | 11.5 KB |
README.md | -rw-r--r-- | 6.5 KB |
Computing file changes ...