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

Side by Side Diff: dart/lib/compiler/implementation/types/concrete_types_inferrer.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 months 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of types;
6
7 class CancelTypeInferenceException { 5 class CancelTypeInferenceException {
8 final Node node; 6 final Node node;
9 final String reason; 7 final String reason;
10 8
11 CancelTypeInferenceException(this.node, this.reason); 9 CancelTypeInferenceException(this.node, this.reason);
12 } 10 }
13 11
14 /** 12 /**
15 * A singleton concrete type. More precisely, a [BaseType] is one of the 13 * A singleton concrete type. More precisely, a [BaseType] is one of the
16 * following: 14 * following:
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 Element element = elements[node]; 1245 Element element = elements[node];
1248 inferrer.addCaller(element, currentMethod); 1246 inferrer.addCaller(element, currentMethod);
1249 return inferrer.getSendReturnType(element, null, 1247 return inferrer.getSendReturnType(element, null,
1250 analyzeArguments(node.arguments)); 1248 analyzeArguments(node.arguments));
1251 } 1249 }
1252 1250
1253 void internalError(String reason, {Node node}) { 1251 void internalError(String reason, {Node node}) {
1254 inferrer.fail(node, reason); 1252 inferrer.fail(node, reason);
1255 } 1253 }
1256 } 1254 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/typechecker.dart ('k') | dart/lib/compiler/implementation/universe/function_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698