<div dir="ltr"><div>Hi,</div><div><br></div>this doesn't compile in 18.3. is it supposed to work with the maps spec ? maybe in a later release ?<div><br></div><div>-spec my_match(atom(), atom(), map()) -> any().<br><div>my_match(Classification, CarType, #{my_key := #{ Classification := #{ <<"cars">> := #{ CarType := Map}}}}) -><br></div><div>....</div><div><div>variable 'Classification' is unbound</div><div>variable 'CarType' is unbound</div></div><div><br></div><div><br></div><div>this works but we're not taking advantage of function clauses.</div><div><br></div><div>my_match(Classification, CarType, M ) -></div><div>    #{my_key := #{ Classification := #{ <<"cars">> := #{ CarType := Map}}}} = M,<br></div></div><div>    Map.</div><div>....</div><div><br></div><div>TIA</div><div><br></div></div>