Index: pkg/analyzer/lib/src/kernel/loader.dart |
diff --git a/pkg/analyzer/lib/src/kernel/loader.dart b/pkg/analyzer/lib/src/kernel/loader.dart |
index cf4304b2b6723ebcf7ec58a6216af629bb57f56c..351e7331145da4f1409134120f0d571b53bcd101 100644 |
--- a/pkg/analyzer/lib/src/kernel/loader.dart |
+++ b/pkg/analyzer/lib/src/kernel/loader.dart |
@@ -526,7 +526,8 @@ class DartLoader implements ReferenceLevelLoader { |
return new ast.Constructor(scope.buildFunctionInterface(constructor), |
name: _nameOfMember(element), |
isConst: constructor.isConst, |
- isExternal: constructor.isExternal) |
+ isExternal: constructor.isExternal, |
+ isSyntheticDefault: constructor.isSynthetic) |
..fileOffset = element.nameOffset; |
case ElementKind.FIELD: |