blob: 7a88737d9a1e14c4166df8b71e2587bff93c3b29 [file] [log] [blame]
// Copyright (c) 2020, 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.
// test w/ `dart test -N unrelated_type_equality_checks`
bool m(int? a1, num a2) {
var b1 = a1 == a2; // OK
var b2 = a2 == a1; // OK
}