blob: 08c3e25734295c073603f0ceff00258e3fa0a3a7 [file] [log] [blame]
// 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.
main() {
promotedCascade(null);
}
promotedCascade(dynamic value) {
if (/*dynamic*/ value is List<String>) {
value =
'[${(/*List<String>*/ value.. /*invoke: void*/ sort()). /*invoke: String*/ join(',')}]';
}
return /*dynamic*/ value;
}