Chromium Code Reviews| Index: frog/gen.dart |
| diff --git a/frog/gen.dart b/frog/gen.dart |
| index 53b34595cdda139afe781891d4b3a0f4e54294f5..cf6fe0d1a4e50e4d35b1ea4fe8bf20692db160cc 100644 |
| --- a/frog/gen.dart |
| +++ b/frog/gen.dart |
| @@ -1838,7 +1838,7 @@ class MethodGenerator implements TreeVisitor { |
| } else if (xn is DotExpression) { |
| return _visitDotAssign(kind, xn, yn, position, captureOriginal); |
| } else { |
| - world.error('illegal lhs', position.span); |
| + world.error('illegal lhs', xn.span); |
| } |
| } |