Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: frog/type.dart

Issue 8826001: frog bug 642: type variables can't be used in allocations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
None
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class Type extends Element { 5 class Type extends Element {
6 bool isTested = false; 6 bool isTested = false;
7 bool isChecked = false; 7 bool isChecked = false;
8 8
9 /** 9 /**
10 * For core types (int, String, etc) this is the generated type assertion 10 * For core types (int, String, etc) this is the generated type assertion
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // Mismatched required parameter count 426 // Mismatched required parameter count
427 if (tp.length > sp.length && !tp[sp.length].isOptional) return false; 427 if (tp.length > sp.length && !tp[sp.length].isOptional) return false;
428 428
429 return true; 429 return true;
430 } 430 }
431 } 431 }
432 432
433 433
434 /** A type parameter within the body of the type. */ 434 /** A type parameter within the body of the type. */
435 class ParameterType extends Type { 435 class ParameterType extends Type {

error: old chunk mismatch

OLDNEW
« frog/gen.dart ('K') | « frog/minfrog ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698