Index: frog/var_member.dart |
diff --git a/frog/var_member.dart b/frog/var_member.dart |
index 75aa3b22552756878b2af74644e8f4891ee1e444..d64b1f30e9b148af708d606b5cc1596134696969 100644 |
--- a/frog/var_member.dart |
+++ b/frog/var_member.dart |
@@ -69,9 +69,8 @@ class VarFunctionStub extends VarMember { |
VarFunctionStub(String name, Arguments callArgs) |
: super(name), args = callArgs.toCallStubArgs() { |
// Ensure dependency is generated |
- var funcImpl = world.coreimpl.types['_FunctionImplementation']; |
- funcImpl.markUsed(); |
- world.gen.genMethod(funcImpl.getMember('_genStub')); |
+ world.functionImplType.markUsed(); |
+ world.gen.genMethod(world.functionImplType.getMember('_genStub')); |
} |
Value invoke(MethodGenerator context, Node node, Value target, |