1117dce94d
This adds the flag isErroneouslyInitialized to the VariableDeclaration AST node in Kernel. The flag is set to true whenever it is concluded during compilation that the initializer contains errors is erroneous for the parameter in any other way, for exaple, due to a type mismatch. Change-Id: I1b3c9c662974fb9537ab4f89b58dd004979feebe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431862 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
Conversion to a textual format.
The text format is currently very ad-hoc and there is no conversion back, but it's a pleasant way to view the IR.