-
Notifications
You must be signed in to change notification settings - Fork 0
Support match block #9
Copy link
Copy link
Open
Description
exmatch %OrderMatcherManager{
capacities: capacities,
matchers: %{
{"BTC", "USDC", :buy} =>
OrderMatcherManager.registering(clients: [{^async_pid, _}])
},
delayed_matchers: delayed_matchers,
notify_capacity_timer: timer_ref,
notify_capacity_state: :min_scheduled
} = get_state_when_registering_order_matcher({"BTC", "USDC", :buy})
** (RuntimeError) Special form __block__/2 is not yet supported in ExMatch
Please submit a report to handle {:__block__, [], [{:=, [], [{:clients, [counter: {LimitOrder.OrderMatcherManagerTest, 100}], LimitOrder.OrderMatcherManagerTest}, [{{:^, [line: 157], [{:async_pid, [line: 157], nil}]}, {:_, [line: 157], nil}}]]}, {:{}, [], [:registering, nil, nil, {:clients, [counter: {LimitOrder.OrderMatcherManagerTest, 100}], LimitOrder.OrderMatcherManagerTest}]}]}
(exmatch 0.16.0) lib/exmatch/expr.ex:33: ExMatch.Expr.parse/2
(exmatch 0.16.0) lib/exmatch/expr.ex:43: ExMatch.Expr.expand/2
(exmatch 0.16.0) lib/exmatch/expr.ex:20: ExMatch.Expr.parse/2
(exmatch 0.16.0) lib/exmatch/map.ex:38: ExMatch.Map.parse_field/5
(elixir 1.14.1) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
(exmatch 0.16.0) lib/exmatch/map.ex:25: ExMatch.Map.parse_fields/2
(exmatch 0.16.0) lib/exmatch/map.ex:10: ExMatch.Map.parse/2
(exmatch 0.16.0) lib/exmatch/map.ex:38: ExMatch.Map.parse_field/5
(elixir 1.14.1) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
(exmatch 0.16.0) lib/exmatch/map.ex:25: ExMatch.Map.parse_fields/2
(exmatch 0.16.0) lib/exmatch/struct.ex:61: ExMatch.Struct.parse/2
(exmatch 0.16.0) lib/exmatch.ex:81: ExMatch.gen_match/4
(exmatch 0.16.0) expanding macro: ExMatch.match/2Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels