fe3afde2eb
Before this CL any method with initializers would be ended with a call to listener.endClassConstructor. If we know it's an operator, though, we shouldn't: The listener has most likely created a specific operator name and should't call it a constructor. Bug: 39230 Change-Id: I6ee79ba1907cb3932c461e0b00937af23b5b5edb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124121 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>