| Index: frog/library.dart
|
| diff --git a/frog/library.dart b/frog/library.dart
|
| index 780f4a28deca1047fa5abcf25a650851c0b0836e..38b4539669e1cee8dc4db15b2309ec3622f70cdd 100644
|
| --- a/frog/library.dart
|
| +++ b/frog/library.dart
|
| @@ -114,8 +114,8 @@ class Library extends Element {
|
| // TODO(jimhug): This is redundant now that FunctionDef has type params.
|
| final def = new FunctionTypeDefinition(func, null, func.span);
|
| final type = new DefinedType(name, this, def, false);
|
| - type.addMethod('\$call', func);
|
| - var m = type.members['\$call'];
|
| + type.addMethod(':call', func);
|
| + var m = type.members[':call'];
|
| m.enclosingElement = enclosingElement;
|
| m.resolve();
|
| // Function types implement the Function interface.
|
| @@ -484,6 +484,6 @@ class _LibraryVisitor implements TreeVisitor {
|
|
|
| void visitFunctionTypeDefinition(FunctionTypeDefinition node) {
|
| var type = library.addType(node.func.name.name, node, false);
|
| - type.addMethod('\$call', node.func);
|
| + type.addMethod(':call', node.func);
|
| }
|
| }
|
|
|