Skip to content

Commit 3a7a8aa

Browse files
committed
---
yaml --- r: 349182 b: refs/heads/master-next c: a3e26ab h: refs/heads/master
1 parent 84622c9 commit 3a7a8aa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 2120a31cf0eefb3b641aba7279c948718339d3ac
3+
refs/heads/master-next: a3e26abd8afb4ebdf666bd5321e00bdb8d4a5db1
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/lib/Sema/CSSimplify.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,11 @@ class ArgumentFailureTracker : public MatchCallArgumentListener {
847847
CS.getConstraintLocator(argLoc),
848848
TVO_CanBindToInOut | TVO_CanBindToLValue | TVO_CanBindToNoEscape);
849849

850+
CS.recordHole(argType);
851+
CS.addUnsolvedConstraint(Constraint::create(
852+
CS, ConstraintKind::Defaultable, argType, CS.getASTContext().TheAnyType,
853+
CS.getConstraintLocator(argLoc)));
854+
850855
Arguments.push_back(param.withType(argType));
851856
++NumSynthesizedArgs;
852857

0 commit comments

Comments
 (0)