Skip to content

Fix bug in JSON printer for errors & warnings

Melwyn Saldanha requested to merge fix/get-scope-json into dev

type:internal

Fixes #1443 (closed)

For some type of errors Lists were being returned due to accumulation of errors https://gitlab.com/ligolang/ligo/-/blob/dev/src/main/main_errors/formatter.ml#L390-395

This MR flattens the list (in cases of list of errors returned)

image

Changelog details:

Edited by Melwyn Saldanha

Merge request reports

Loading