mirror of
https://github.com/enso-org/enso.git
synced 2024-11-23 08:08:34 +03:00
7a6ee0c200
This change implements a simple `type_of` method that returns a type of a given value, including for polyglot objects. The change also allows for pattern matching on various time-related instances. It is a nice-to-have on its own, but it was primarily needed here to write some tests. For equality checks on types we currently can't use `==` due to a known _feature_ which essentially does wrong dispatching. This will be improved in the upcoming statics PR so we agreed that there is no point in duplicating that work and we can replace it later. Also, note that this PR changes `Meta.is_same_object`. Comparing types revealed that it was wrong when comparing polyglot wrappers over the same value. |
||
---|---|---|
.. | ||
Benchmarks | ||
Examples_Tests | ||
Geo_Tests | ||
Google_Api_Test | ||
Image_Tests | ||
micro-distribution | ||
Table_Tests | ||
Tests | ||
Visualization_Tests |