blob: ab67c1c1f0d53e36e7917056712366162b85c46a [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.
// @dart = 2.7
/*member: main:[null]*/
main() {
/*member: typeLiteral:[exact=_Type]*/
typeLiteral() => Object;
/*member: typeLiteralToString:[null|exact=JSString]*/
typeLiteralToString() => (Object). /*invoke: [exact=_Type]*/ toString();
/*member: typeLiteralSubstring:[exact=JSString]*/
typeLiteralSubstring() {
String name = (List). /*invoke: [exact=_Type]*/ toString();
name = name. /*invoke: [null|exact=JSString]*/ substring(
0, name. /*invoke: [null|exact=JSString]*/ indexOf('<'));
return name;