b2e7058747
+ handle native methods and js-interop constructors Change-Id: I901301bf6d4926e6ecb1e427e3d16e512d888aab Reviewed-on: https://dart-review.googlesource.com/13722 Reviewed-by: Sigmund Cherem <sigmund@google.com>
14 lines
400 B
Dart
14 lines
400 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: main:[null]*/
|
|
main() {
|
|
nativeMethod();
|
|
}
|
|
|
|
/*element: nativeMethod:[null|subclass=Object]*/
|
|
nativeMethod()
|
|
// ignore: NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE
|
|
native;
|