mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
67db825587
`MetadataStorage` is mutable. Using `Object.equals` in `IR.copy` methods to check whether a _copy is needed_ isn't enough. The fact that two storages are `Object.equal` may be just temporary. Replacing the checks in 69 `IR.copy` methods with identity check - e.g. `ne` in Scala which is `==` in Java. Using proper structural check inside of `MetadataStorage` fixes #11171. # Important Notes I [used this regex](https://github.com/enso-org/enso/issues/11171#issuecomment-2463908932) to find out 69 instances of `IR.copy`: ![69 copy methods](https://github.com/user-attachments/assets/257580b9-54fc-4199-88ad-a22103b0041f) and I modified all 69 of them. |
||
---|---|---|
.. | ||
akka-wrapper/src/main/java | ||
benchmarks-common/src/main/java | ||
desktop-environment/src | ||
directory-watcher-wrapper/src/main/java | ||
fansi-wrapper/src/main/java | ||
jna-wrapper/src/main/java | ||
language-server-deps-wrapper/src/main/java | ||
persistance/src | ||
persistance-dsl/src/main/java/org/enso/persist/impl | ||
scala-libs-wrapper/src/main/java | ||
test-utils/src/main/java/org/enso/test/utils | ||
ydoc-server/src | ||
zio-wrapper/src/main/java |