mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 03:02:30 +03:00
ae0889e843
Most of the problems with accessing `ArrayOverBuffer` have been resolved by using `CoerceArrayNode` (https://github.com/enso-org/enso/pull/3817). In `Array.sort` we still however specialized on Array which wasn't compatible with `ArrayOverBuffer`. Similarly sorting JS or Python arrays wouldn't work. Added a specialization to `Array.sort` to deal with that case. A generic specialization (with `hasArrayElements`) not only handles `ArrayOverBuffer` but also polyglot arrays coming from JS or Python. We could have an additional specialization for `ArrayOverBuffer` only (removed in the last commit) that returns `ArrayOverBuffer` rather than `Array` although that adds additional complexity which so far is unnecessary. Also fixed an example in `Array.enso` by providing a default argument. |
||
---|---|---|
.. | ||
data | ||
src | ||
package.yaml | ||
README.md |
This is a set of tests for the Base
library for Enso.
The run test suite for the HTTP component requires an active httbin
server on
the localhost. If it is present, the port it listens to should be provided by
setting the ENSO_HTTP_TEST_HTTPBIN_URL
environment variable to a value like
http://localhost:8080
. The URL may contain a trailing slash.
tools/simple-httpbin
provides a simple implementation of httpbin
server. See
its README for instructions on how to run it.