mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:27:17 +00:00
7014f03aad
Fixes https://github.com/dart-lang/sdk/issues/46165 TEST=added regression test Change-Id: I3016f60560b00f077d5ef55a0b23ccfb7dbf0836 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201863 Reviewed-by: Liam Appelbe <liama@google.com> Commit-Queue: Régis Crelier <regis@google.com>
11 lines
314 B
Dart
11 lines
314 B
Dart
// Copyright (c) 2021, 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 main() {
|
|
final l = <Object>[];
|
|
l.add((String x, StringBuffer y) {
|
|
print(x);
|
|
});
|
|
}
|