blob: 6655649c4e1aad9714cb3f3adcf0e40108a60de1 [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
}