9f8f6df70f
For now it's only done for unevaluated constants as that's where an issue has been observed. This CL further more limits the default nesting depth for both expressions and statements (e.g. when .toString() printing an ast node) to 50. Again this has been shown in one case to be a good place to stop an (exponential time) issue from happening. Change-Id: I6affb2846a6587542ffce3f8d6914a4209b08322 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251103 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>