| 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())) {
|
|
|