mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
7a540d2f85
Change-Id: Ic12edd3e76ba1f8b9fb096c96e310e7253cc6ac6 Reviewed-on: https://dart-review.googlesource.com/14722 Commit-Queue: Bob Nystrom <rnystrom@google.com> Reviewed-by: Régis Crelier <regis@google.com>
11 lines
342 B
Dart
11 lines
342 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.
|
|
|
|
List<T> get<T>(T item) => <T>[item];
|
|
List<T> get2<T>(T item) => <T>[item];
|
|
|
|
void main() {
|
|
print(get(1));
|
|
print(get2(1));
|
|
}
|