You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/QsCompiler/CompilationManager/CompilationUnit.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -115,13 +115,13 @@ static QsDeclarationAttribute Renamed(QsQualifiedName originalName, Tuple<int, i
115
115
varrename=newRenameReferences(renaming);
116
116
vartypes=headers.Types
117
117
.Select(type =>
118
-
renaming.ContainsKey(type.QualifiedName)&&type.Location.IsValue// TODO: we should instead fully support auto-generated attributes
118
+
renaming.TryGetValue(type.QualifiedName,outvarnewName)&&!type.QualifiedName.Equals(newName)&&type.Location.IsValue// TODO: we should instead fully support auto-generated attributes
renaming.ContainsKey(callable.QualifiedName)&&callable.Location.IsValue// TODO: we should instead fully support auto-generated attributes
124
+
renaming.TryGetValue(callable.QualifiedName,outvarnewName)&&!callable.QualifiedName.Equals(newName)&&callable.Location.IsValue// TODO: we should instead fully support auto-generated attributes
0 commit comments