Bug#1086320: swiftlang: FTBFS: error: no member named 'regsitry' in 'UpdatingListIterator<IteratorBase, IsReverse, Registry>'

Santiago Vila sanvila at debian.org
Tue Oct 29 21:17:33 GMT 2024


tags 1086320 + patch
thanks

Trivial patch attached (but untested).
I wonder how this worked at all before.

Thanks.
-------------- next part --------------
--- a/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h
+++ b/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h
@@ -86,7 +86,7 @@ public:
   }
 
   Self &operator=(const Self &rhs) {
-    this->regsitry = rhs.registry;
+    this->registry = rhs.registry;
     this->base = rhs.base;
     this->advanced = rhs.advanced;
     registry->registerIterator(this);


More information about the Pkg-llvm-team mailing list