21891a965f
Also allows us to more generally compare annotations in multi-file tests. Bug: Change-Id: I2f4ac34b918cc80400ebc417dfcc2caf56457ac2 Reviewed-on: https://dart-review.googlesource.com/30923 Commit-Queue: Emily Fortuna <efortuna@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
12 lines
379 B
Dart
12 lines
379 B
Dart
// Copyright (c) 2017, 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.
|
|
|
|
/*element: defaultArg:OutputUnit(1, {lib})*/
|
|
defaultArg() => "";
|
|
|
|
/*element: funky:OutputUnit(1, {lib})*/
|
|
funky([x = defaultArg]) => x();
|
|
|
|
final int notUsed = 3;
|