@@ -312,7 +312,7 @@ class _BlockCompiler {
312
312
var variableAccess = variableLookup.name;
313
313
if (invert) {
314
314
writeln ('if ($variableAccess ?.isEmpty ?? true) {' );
315
- await _BlockCompiler (_templateCompiler, _contextStack). _compile (block);
315
+ await _compile (block);
316
316
writeln ('}' );
317
317
} else {
318
318
var variableAccessResult = getNewContextName ();
@@ -330,7 +330,7 @@ class _BlockCompiler {
330
330
var innerContextType = iterableType.typeArguments.first;
331
331
var innerContext = _VariableLookup (innerContextType, newContextName);
332
332
_contextStack.push (innerContext);
333
- await _BlockCompiler (_templateCompiler, _contextStack). _compile (block);
333
+ await _compile (block);
334
334
_contextStack.pop ();
335
335
writeln (' }' );
336
336
writeln ('}' );
@@ -344,15 +344,15 @@ class _BlockCompiler {
344
344
var variableAccess = variableLookup.name;
345
345
if (invert) {
346
346
writeln ('if ($variableAccess == null) {' );
347
- await _BlockCompiler (_templateCompiler, _contextStack). _compile (block);
347
+ await _compile (block);
348
348
writeln ('}' );
349
349
} else {
350
350
var innerContextName = getNewContextName ();
351
351
writeln ('var $innerContextName = $variableAccess ;' );
352
352
writeln ('if ($innerContextName != null) {' );
353
353
var innerContext = _VariableLookup (variableLookup.type, innerContextName);
354
354
_contextStack.push (innerContext);
355
- await _BlockCompiler (_templateCompiler, _contextStack). _compile (block);
355
+ await _compile (block);
356
356
_contextStack.pop ();
357
357
writeln ('}' );
358
358
}
0 commit comments