mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
0855b74875
* Sequence literal (Vector) should preserve warnings When Vector was created via a sequence literal, we simply dropped any associated any warnings associated with it. This change propagates Warnings during the creation of the Vector. Ideally, it would be sufficient to propagate warnings from the individual elements to the underlying storage but doesn't go well with `Vector.fromArray`. * update changelog * Array-like structures preserver warnings Added a WarningsLibrary that exposes `hasWarnings` and `getWarnings` messages. That way we can have a single storage that defines how to extract warnings from an Array and the others just delegate to it. This simplifies logic added to sequence literals to handle warnings. * Ensure polyglot method calls are warning-free Since warnings are no longer automatically extracted from Array-like structures, we delay the operation until an actual polyglot method call is performed. Discovered a bug in `Warning.detach_selected_warnings` which was missing any usage or tests. * nits * Support multi-dimensional Vectors with warnings * Propagate warnings from case branches * nit * Propagate all vector warnings when reading element Previously, accessing an element of an Array-like structure would only return warnings of that element or of the structure itself. Now, accessing an element also returns warnings from all its elements as well. |
||
---|---|---|
.. | ||
Benchmarks | ||
Examples_Tests | ||
Geo_Tests | ||
Google_Api_Test | ||
Image_Tests | ||
micro-distribution | ||
Table_Tests | ||
Tests | ||
Visualization_Tests |