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

Unified Diff: dart/frog/leg/typechecker.dart

Issue 8462004: Integrate leg as a component in test.py. Also update presubmit script to run tests with leg. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/frog/leg/scanner/parser.dart ('k') | dart/frog/presubmit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/typechecker.dart
===================================================================
--- dart/frog/leg/typechecker.dart (revision 1186)
+++ dart/frog/leg/typechecker.dart (working copy)
@@ -120,7 +120,7 @@
if (target !== null) {
// TODO(karlklose): Move that to a function that also
// calculates FunctionTypes for other target types.
- FunctionType funType = target.type;
+ FunctionType funType = target.computeType(compiler, types);
Link<Type> formals = funType.parameterTypes;
Link<Node> arguments = node.arguments;
while ((!formals.isEmpty()) && (!arguments.isEmpty())) {
« no previous file with comments | « dart/frog/leg/scanner/parser.dart ('k') | dart/frog/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698