// Check that ASTScope lookup works for a construction found in GRDB's Row.swift // RUN: %target-swift-frontend -typecheck %s protocol P1 {} protocol P2 {} struct S { // Next line is the problematic one, finding P2 subscript(_ index: Int) -> Value? { return nil } }