2836f56729
This moves the computation values need for the lowering to the inference visitor and passes these to the lowering through fields on the patterns. This prepares for performing lowering during constant evaluation. Change-Id: I71a63ac3fd911d9b0cfa5de00a6d28e3b9571a00 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/282600 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
9 lines
270 B
Dart
9 lines
270 B
Dart
// Copyright (c) 2023, 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.
|
|
|
|
method(Never n) {
|
|
switch (n) {
|
|
case == 0:
|
|
}
|
|
} |