mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
RangeInfo: Report RValue type if a decl reference is of read-only LValue type. (#8300)
This commit is contained in:
@@ -1626,7 +1626,7 @@ private:
|
||||
}
|
||||
bool visitDeclReference(ValueDecl *D, CharSourceRange Range,
|
||||
TypeDecl *CtorTyRef, ExtensionDecl *ExtTyRef, Type T,
|
||||
SemaReferenceKind Kind) override {
|
||||
ReferenceMetaData Data) override {
|
||||
if (Cancelled)
|
||||
return false;
|
||||
if (CtorTyRef)
|
||||
|
||||
Reference in New Issue
Block a user