Files
sdk/pkg/kernel/problems.md
T
Jens Johansen 1c82f6757c Save problems in ast - kernel format changes
Change-Id: I978c90762ee85a6d7936d6a55e11d5d95d509b4f
Reviewed-on: https://dart-review.googlesource.com/c/89507
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-01-17 10:41:53 +00:00

19 lines
806 B
Markdown

<!--
Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
-->
This file describes the format of the `problemsAsJson` strings in Dart Kernel.
Each string in the list is a json object consisting of these keys and values:
`ansiFormatted`: A list of strings the contain ansi formatted (for instance with
colors) problem-texts as reported by the compiler.
`plainTextFormatted`: A list of strings that contain formatted plaintext
problem-texts as reported by the compiler.
These values are subject to change, but this file will be updated along with any
such changes. On the code-side these are defined in
`package:front_end/src/fasta/fasta_codes.dart`.