Hi,

Current behavour:

[]  = all_enqueued(queue: :default)
#  raises *** (MatchError)*

assert []  = all_enqueued(queue: :default)
# formatted as *match (=) failed*

Actually, the proposal is to kinda implicitly add assert to expressions 
which have match operator, so in case of errors output is automatically 
formatted like the expression is written with assert.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/133cd523-bdbf-4544-a524-671219707aean%40googlegroups.com.

Reply via email to