1f48889e8f
This access kind was wrongfully set to Dynamic instead of Never. Change-Id: Iab949e47e6faffb55ae351eea4857acb37dacb3c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/495360 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
10 lines
301 B
Dart
10 lines
301 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:
|
|
case Never(:var hashCode):
|
|
}
|
|
} |