36b93f6b08
This splits ConstantVisitor(1) into a pure interface and a ConstantVisitor(1)DefaultMixin with the base implementation. This is a step towards avoid having an accidental default implementation where a static error would have been preferable. Also removes BodyVisitor1 which was unused. TEST=existing Change-Id: I265754e13e0ebcce5c154b16c7ee36854f4ce9fe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/325400 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>