d0112f4431
Change-Id: I18b4b9979aea44b4dec64a5f1a32e67118b54a97 Reviewed-on: https://dart-review.googlesource.com/54222 Reviewed-by: Sigmund Cherem <sigmund@google.com>
13 lines
453 B
Dart
13 lines
453 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.
|
|
|
|
/*kernel.element: method:direct,explicit=[method.T]*/
|
|
/*strong.element: method:direct,explicit=[method.T],needsArgs*/
|
|
/*omit.element: method:direct,explicit=[method.T],needsArgs*/
|
|
method<T>(T t) => t is T;
|
|
|
|
main() {
|
|
method<int>(0);
|
|
}
|