blob: f75b7ab713698d04d9168c114749b71d62272fb7 [file]
// Copyright (c) 2026, 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.
void v = null;
void test() {
v. => 1; // Error
v.(p) => 1; // Error
v?. => 1; // Error
v?.(p) => 1; // Error
v.. => 1; // Error
v..(p) => 1; // Error
v?.. => 1; // Error
v?..(p) => 1; // Error
}