File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
validation-test/compiler_crashers_2_fixed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -7490,11 +7490,11 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyMemberConstraint(
7490
7490
if (!paramDecl)
7491
7491
continue ;
7492
7492
7493
- auto descriptor = UnqualifiedLookupDescriptor (
7493
+ auto descriptor = UnqualifiedLookupDescriptor{
7494
7494
DeclNameRef (param->getName ()),
7495
- paramDecl->getDeclContext ()->getParentSourceFile (),
7495
+ paramDecl->getDeclContext ()->getModuleScopeContext (),
7496
7496
SourceLoc (),
7497
- UnqualifiedLookupFlags::TypeLookup) ;
7497
+ UnqualifiedLookupFlags::TypeLookup} ;
7498
7498
auto lookup = evaluateOrDefault (
7499
7499
Context.evaluator , UnqualifiedLookupRequest{descriptor}, {});
7500
7500
for (auto &result : lookup) {
Original file line number Diff line number Diff line change
1
+ // RUN: not %target-swift-frontend -typecheck %s
2
+
3
+ typealias IndexResult = Result < Bol , Error >
4
+ extension IndexResult {
5
+ func perfect( ) -> Self {
6
+ Success ( true )
7
+ }
8
+ }
You can’t perform that action at this time.
0 commit comments