blob: cce9bfe74b4bbf1ca10bf2182998957dce3694b4 [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.
final foo = A<B>.foo();
// ^
// [analyzer] STATIC_WARNING.NEW_WITH_NON_TYPE
// [cfe] Method not found: 'A'.
// ^
// [analyzer] STATIC_TYPE_WARNING.NON_TYPE_AS_TYPE_ARGUMENT
// [cfe] 'B' isn't a type.
main() {}