symb_name = symb.get_name()
msg_string = msg.get_string_value()
if not (symb_name is None or msg_string is None):
evaluation.quiet_messages.discard((symb_name, msg_string))
continue
evaluation.message("Message", "name", e)
return Symbol("Null")
After Change
"On[expr___]"
seq = expr.get_sequence()
quiet_messages = set(evaluation.get_quiet_messages())
if not seq:
// TODO On[s::trace] for all symbols
return
for e in seq:
if isinstance(e, Symbol):
quiet_messages.discard(Expression("MessageName", e, String("trace")))
elif check_message(e):
quiet_messages.discard(e)
else:
evaluation.message("Message", "name", e)
evaluation.set_quiet_messages(quiet_messages)
return Symbol("Null")