Leonhard Kipp
c6fe58467b
Change alias shape inference to proposal of RFC#4 ( #2685 )
...
* Change alias shape inference to proposal of RFC#4
* Remove commented code
* Fix typo
* Change comment to be more informative
* Make match statement to lookup in table
* Remove resolved question
https://github.com/nushell/nushell/pull/2685#discussion_r509832054
* Pick ...or_insert_dependency functions into pieces
Previously there was get_shape_of_expr_or_insert dependency, now there is
get_shape_of_expr and get_shape_of_expr_or_insert_dependency
2 new functions have been added: get_result_shape_of_math_expr and
get_result_shape_of_math_expr_or_insert_dependency
* Remove flattening of deep binary expressions
Previously deep binary expressions have been flattened through the insertion of
fake vars. This logic was quite complicated. Now if a variable depends on the
result shape of a binary expression and the result shape can't be computed,
the variable simply depends on the whole binary.
* Change Expression::Variable(Variable::It(...)) to Expression::Variable(...)
* Simplify get_result_shapes_in_math_expr
* Simplify infer_shapes_in_binary_expr
* Clarify comment
* Clarify comment
* Fix clippy lint
* Move check for real var into checked_insert
* Remove comment
* Rename var
2020-10-29 06:49:38 +13:00
..
2020-10-09 10:47:51 +13:00
2020-10-29 06:49:38 +13:00
2020-10-08 20:04:19 -05:00
2020-10-03 09:06:02 -05:00
2020-10-28 07:47:11 +13:00
2020-10-26 19:55:52 +13:00
2020-10-26 19:55:52 +13:00
2020-10-22 13:18:27 +13:00
2020-10-20 04:07:13 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-26 16:35:18 +13:00
2020-10-21 08:53:08 -05:00
2020-10-03 09:06:02 -05:00
2020-10-29 06:49:38 +13:00
2020-10-03 09:06:02 -05:00
2020-10-22 03:26:30 -05:00
2020-03-04 13:58:20 -05:00
2020-07-18 05:57:15 +12:00
2020-07-18 05:57:15 +12:00
2020-08-18 17:36:09 +12:00
2020-09-26 11:40:02 +12:00
2020-08-18 19:00:02 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-28 09:08:09 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-09-26 11:40:02 +12:00
2020-10-03 09:06:02 -05:00
2020-07-04 07:53:20 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-09-20 09:29:51 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-09-22 05:28:31 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-09 10:47:51 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-20 04:07:13 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-27 20:37:35 +13:00
2020-10-03 09:06:02 -05:00
2020-10-12 22:46:58 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-26 19:55:52 +13:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-10 18:30:48 +13:00
2020-10-03 09:06:02 -05:00
2020-08-18 19:00:02 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-12 22:46:58 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-29 06:49:38 +13:00
2020-09-26 11:40:02 +12:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-12 22:46:58 -05:00
2020-10-20 04:07:13 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-12 22:46:58 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-19 19:58:24 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-26 19:55:52 +13:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00
2020-10-03 09:06:02 -05:00