We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7666c4 commit da4e6ebCopy full SHA for da4e6eb
pkg/vm/lib/bytecode/gen_bytecode.dart
@@ -3413,6 +3413,7 @@ class BytecodeGenerator extends RecursiveVisitor<Null> {
3413
3414
// Front-end inserts implicit cast (type check) which ensures that
3415
// result of iterable expression is Iterable<dynamic>.
3416
+ _recordSourcePosition(node.iterable.fileOffset);
3417
asm.emitInterfaceCall(
3418
cp.addInterfaceCall(InvocationKind.getter, iterableIterator,
3419
objectTable.getArgDescHandle(1)),
@@ -3454,6 +3455,7 @@ class BytecodeGenerator extends RecursiveVisitor<Null> {
3454
3455
_genJumpIfFalse(/* negated = */ false, done);
3456
3457
_enterScope(node);
3458
+ _recordSourcePosition(node.bodyOffset);
3459
3460
_genPushContextIfCaptured(node.variable);
3461
0 commit comments