Files
sdk/tests/compiler/dart2js/inlining/data/map.dart
T
Johnni Winther 0edef589d4 Ensure type variables for inlined constructors and mixin fields
Change-Id: I348acffb7842ff1c9f28ebf73c507e282c6a045e
Reviewed-on: https://dart-review.googlesource.com/29080
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-12-14 08:53:21 +00:00

23 lines
494 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.
/// ignore: IMPORT_INTERNAL_LIBRARY
import 'dart:_js_helper';
/*element: main:[]*/
main() {
passMapToNull();
}
/*element: _passMapToNull:[passMapToNull]*/
_passMapToNull(f) {
f({});
}
/*element: passMapToNull:[]*/
@NoInline()
passMapToNull() {
_passMapToNull(null);
}