Chromium Code Reviews| Index: pkg/compiler/lib/src/parser/partial_elements.dart |
| diff --git a/pkg/compiler/lib/src/parser/partial_elements.dart b/pkg/compiler/lib/src/parser/partial_elements.dart |
| index e26d83805b8607588e2780e935a9e4270b6bb9b9..d72c6b739766844947c00e838b1337753743555e 100644 |
| --- a/pkg/compiler/lib/src/parser/partial_elements.dart |
| +++ b/pkg/compiler/lib/src/parser/partial_elements.dart |
| @@ -297,7 +297,9 @@ class PartialFieldList extends VariableList with PartialElement { |
| // TODO(johnniwinther): Compute this in the resolver. |
| VariableDefinitions node = parseNode(element, resolution.parsing); |
| if (node.type != null) { |
| - type = resolution.resolveTypeAnnotation(element, node.type); |
| + type = resolution.reporter.withCurrentElement(element, () { |
| + return resolution.resolveTypeAnnotation(element, node.type); |
|
Johnni Winther
2015/12/10 14:59:04
Bug found during implementation. We could point to
Siggi Cherem (dart-lang)
2015/12/10 16:21:42
Do you think it is worth looking into https://gith
Johnni Winther
2015/12/11 10:33:28
I'll take a (new) look at 3675.
|
| + }); |
| } else { |
| type = const DynamicType(); |
| } |