beanmachine icon indicating copy to clipboard operation
beanmachine copied to clipboard

More compiler error message improvements

Open ericlippert opened this issue 2 years ago • 2 comments

Summary: This diff continues the work begun in the previous; I am adding location information to error messages when known. In this diff, violations of BMG type system rules are now reported with a location:

The operand of a log1mexp is required to be a negative real but is a positive real. The log1mexp was created in function call wrong().

Reviewed By: yucenli

Differential Revision: D34284012

ericlippert avatar Feb 24 '22 20:02 ericlippert