Skip to content

Commit e8ea6a5

Browse files
committed
Print type violation slogan
1 parent 61acf33 commit e8ea6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_errors.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ format_snippet(Severity, Position, File, Message, Snippet, Diagnostic) ->
177177

178178
unicode:characters_to_binary(Formatted).
179179

180-
format_detail(#{detail := #{typing_traces := _}}, Message) -> [Message | "\ntyping violation found at:"];
180+
format_detail(#{details := #{typing_traces := _}}, Message) -> [Message | "\ntyping violation found at:"];
181181
format_detail(_, Message) -> Message.
182182

183183
calculate_span_length({StartLine, StartCol}, #{span := {StartLine, EndCol}}) -> EndCol - StartCol;

0 commit comments

Comments
 (0)