blob: 4c66b2ac0b9845acfda585e719ad13c1d2788acb [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.
/**
* @assertion bool operator <=(num other)
* Throws [Error] if [other] is [:null:].
* @description Checks that compile error appears if [other] is statically [:null:].
* @author iarkh
*/
import "../../../Utils/expect.dart";
main() {
double d = 10.2;
d <= null;
// ^
// [analyzer] unspecified
// [cfe] unspecified
}