blob: 474158904afb32ee0fa9704ff6f2ba31c78376d7 [file] [log] [blame]
/*
* Copyright (c) 2011, 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.
*/
/**
* @assertion Let p = G < A1, ..., An > be a parameterized type. It is a static type warning
* if G is not a generic type with exactly n type parameters.
* @description Checks that a static warning is produced if G has fewer type parameters than needed.
* @static-warning
* @author iefremov
* @reviewer rodionov
*/
class A<T, U> {}
main() {
A<int> a = null; /// static type warning
}