blob: ddd09315f89201ab98dc391799f4f3a44b345c17 [file] [log] [blame]
// Copyright (c) 2019, 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.
/*member: ordinary:declared={x, y}, read={y}, assigned={x}*/
ordinary(int x, int y) {
x = y;
}
/*member: nullAware:declared={x, y}, read={x, y}, assigned={x}*/
nullAware(int? x, int y) {
x ??= y;
}
/*member: compound:declared={x, y}, read={x, y}, assigned={x}*/
compound(int x, int y) {
x += y;
}