Skip to content

Commit 2d57586

Browse files
committed
Merge branch 'master' into dartdoc-0.28.7
2 parents 2efb5f8 + 4ef9310 commit 2d57586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/element_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ class CallableGenericTypeAliasElementType extends ParameterizedElementType
447447
ElementType get returnType {
448448
if (_returnType == null) {
449449
_returnType = ElementType.from(
450-
returnElement.modelType.type, library, packageGraph, this);
450+
type.returnType, library, packageGraph, this);
451451
}
452452
return _returnType;
453453
}

test/dartdoc_integration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void main() {
6969
expect(outputLines, contains(matches('^ warning:')));
7070
expect(outputLines.last, matches(r'^found \d+ warnings and \d+ errors'));
7171
expect(outputDir.listSync(), isNotEmpty);
72-
});
72+
}, timeout: new Timeout.factor(2));
7373

7474
test('invalid parameters return non-zero and print a fatal-error',
7575
() async {

0 commit comments

Comments
 (0)