dart-sdk/tests/language/regress_16640_test.dart
regis@google.com 2673ef210d Do not resolve type arguments when only a resolved type class is needed to
calculate number of type arguments during type finalization (issue 16640).
Add regression test.

R=asiva@google.com

Review URL: https://codereview.chromium.org//160753004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32624 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:18:59 +00:00

16 lines
416 B
Dart

// Copyright (c) 2014, 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.
// Regression test for issue 16640.
class Segment extends SegmentGen { }
class SegmentGen extends ConceptEntity<Segment> { }
class ConceptEntity<E> { }
main() {
new ConceptEntity<Segment>();
}