Commit Graph

123 Commits

Author SHA1 Message Date
Daniel Duan
f1a1b0e752 [Sema] add a crasher 2016-03-15 00:33:08 -07:00
Dmitri Gribenko
0f36bec31f Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2016-02-18 16:41:35 -08:00
Daniel Duan
f2e3d0be23 [SILGen] add a crasher in Type Lowering 2016-02-17 22:40:02 -08:00
Chris Lattner
2f78b70857 recent diagnostics changes fixed 5 crashers and broke 1. 2016-01-11 22:43:27 -08:00
Maxim Moiseev
844b81c46b SequenceType => Sequence 2015-12-09 17:16:56 -08:00
Dmitri Gribenko
2cf172160c Rename SequenceType.Generator associated type to SequenceType.Iterator 2015-12-09 17:11:05 -08:00
Doug Gregor
2038a8e837 Handle nested types of concrete types in the constraint solver.
... I have no idea why we were foolishly mapping such things to their
parent type, which made no sense whatsoever. Fixes
rdar://problem/21621421.

Swift SVN r29882
2015-07-02 04:45:15 +00:00
Doug Gregor
4ce98a2b0d Fix RUN line; this isn't passing
Swift SVN r29871
2015-07-02 00:11:23 +00:00
Doug Gregor
9479679e4e Add test from rdar://problem/21621421.
Swift SVN r29870
2015-07-02 00:08:27 +00:00
Doug Gregor
87b4eeccf3 Make same-type requirements prefer to be rooted at outer generic parameters.
All archetypes from outer scopes are fixed (as a lame implementation
restriction), so same-type constraints that involve archetypes from
outer scopres should treat the archetypes from outer scopes as the
representative. Do so, and start eliminating the notion of a "primary"
archetype that was preventing this fix from occurring earlier, so that
"all archetypes" and the set of requirements generated from the
archetype builder still line up.

Fixes rdar://problem/19519590.

Swift SVN r29869
2015-07-02 00:08:24 +00:00
Slava Pestov
7b2aa2c0a2 SILGen: Fix lvalue reabstraction
We didn't have any tests exercising SubstToOrigComponent and in
fact it was broken. Fix emitInOut() to remove a level of inout
from the origParam abstraction pattern and add some tests.

Fixes <rdar://problem/20985062>.

Swift SVN r29644
2015-06-24 22:27:54 +00:00
Doug Gregor
a7225aa51c Add compiler crasher from rdar://problem/19519590.
Swift SVN r29119
2015-05-28 23:24:23 +00:00
Dmitri Hrybenko
67624d0521 Add a testcase for rdar://20256475
Swift SVN r29118
2015-05-28 23:06:16 +00:00
Dmitri Hrybenko
eac42662dc Add a failing test case for rdar://20985062
Swift SVN r28653
2015-05-16 00:29:15 +00:00
Joe Groff
1af4659c4a Enable interface type mangling.
Fixes rdar://problem/18034517, and addresses a number of compiler crashers due to symbol collisions in the old mangling.

Swift SVN r28383
2015-05-09 22:20:57 +00:00
Chris Willmore
6849d8d7bc Only run 20740573 test case if ObjC interop is available.
Swift SVN r27916
2015-04-29 18:25:04 +00:00
Chris Willmore
2d4bcfc0f9 Add test case from 20740573, fixed by r27901.
Swift SVN r27912
2015-04-29 17:12:53 +00:00
Doug Gregor
0523a09560 Update validation testsuite for the argument label default changes.
Swift SVN r27706
2015-04-24 20:31:43 +00:00
Dmitri Hrybenko
de1917b597 Disable a crash test in no-asserts builds
Swift SVN r27271
2015-04-14 03:36:20 +00:00
Doug Gregor
3805e18090 Explicitly track the mapping from dependent types to their opened type variables.
Previously, we were reconstructing this mapping from the "full" opened
type produced by declaration references. However, when dealing with
same-type constraints between associated types and type parameters, we
could end up with an incomplete mapping, which let archetypes slip
through. Most of the churn here is sorting out the locators we need to
use to find the opened-type information. Fixes rdar://problem/18208283
and at least 3 dupes of it that I've found so far.

Swift SVN r25375
2015-02-18 19:41:40 +00:00
Dmitri Hrybenko
4bc91af128 Annotate that 0002-rdar19792768.swift only crashes with assertions
enabled

Swift SVN r25189
2015-02-11 19:36:42 +00:00
Ben Langmuir
afd4f98a6b Add XFAIL: no_asserts to compiler_crashers_2/0001-rdar19792730.swift
Swift SVN r25181
2015-02-11 17:33:30 +00:00
Dmitri Hrybenko
b76f6b27ec Add tests for compiler crasher bugs that I filed recently
If these tests start passing, we would conveniently know which bugs we
can close.

Swift SVN r25170
2015-02-11 07:12:19 +00:00