blob: c41c82894ff5b190873204486783aed403f2a2df [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 more type parameters than needed.
* @static-warning
* @author iefremov
* @reviewer rodionov
*/
class A<T> {}
main() {
A<int, double> a = null; /// static type warning
}