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. |
||
---|---|---|
.. | ||
java | ||
js/runner | ||
rust | ||
scala | ||
README.md |
Libraries
This directory contains the libraries that should remain in this project, but that are not technically part of the main language implementation itself.