mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:21:18 +00:00
69790e7eb4
Change-Id: I9ba3aa4e3ebaedee3a2cd20ccdcc533af96b9bda Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98018 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Erik Ernst <eernst@google.com>
14 lines
364 B
Dart
14 lines
364 B
Dart
// Copyright (c) 2018, 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 f(int x, int y) {
|
|
x++ = y; //# 01: syntax error
|
|
x++ += y; //# 02: syntax error
|
|
x++ ??= y; //# 03: syntax error
|
|
}
|
|
|
|
main() {
|
|
f(1, 2);
|
|
}
|