diff --git a/lib/src/generator/templates.runtime_renderers.dart b/lib/src/generator/templates.runtime_renderers.dart index f9138f4fc3..8bff603be9 100644 --- a/lib/src/generator/templates.runtime_renderers.dart +++ b/lib/src/generator/templates.runtime_renderers.dart @@ -39,9 +39,9 @@ class _Renderer_Accessor extends RendererBase { self.renderSimpleVariable( c, remainingNames, 'CharacterLocation'), isNullValue: (CT_ c) => c.characterLocation == null, - renderValue: - (CT_ c, RendererBase r, List ast) { - return renderSimple(c.characterLocation, ast, r.template, + renderValue: (CT_ c, RendererBase r, + List ast, StringSink sink) { + renderSimple(c.characterLocation, ast, r.template, sink, parent: r, getters: _invisibleGetters['CharacterLocation']); },