diff --git a/CHANGELOG.md b/CHANGELOG.md index b7d5e49736..62dcfc7886 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.15.0 +* Enable `strong mode` when analyzing, which is required for some types (#1482) +* Now requires Dart SDK `>=1.24.0` (as we test for [`FutureOr`][future_or]) + +[future_or]: https://github.com/dart-lang/sdk/blob/master/CHANGELOG.md#1240---12-06-2017 + ## 0.14.1 * Add better support for GenericFunctionTypeElementImpl (#1506, #1509) * Fix up dartdoc so it can be used with the head analyzer again (#1509) diff --git a/lib/dartdoc.dart b/lib/dartdoc.dart index 82906cc74f..1c6d7bfaa6 100644 --- a/lib/dartdoc.dart +++ b/lib/dartdoc.dart @@ -46,7 +46,7 @@ export 'src/sdk.dart'; const String name = 'dartdoc'; // Update when pubspec version changes. -const String version = '0.14.1'; +const String version = '0.15.0'; final String defaultOutDir = path.join('doc', 'api'); @@ -465,7 +465,9 @@ class DartDoc { SourceFactory sourceFactory = new SourceFactory(resolvers); // TODO(jcollins-g): fix this so it actually obeys analyzer options files. - var options = new AnalysisOptionsImpl()..enableAssertInitializer = true; + var options = new AnalysisOptionsImpl() + ..enableAssertInitializer = true + ..strongMode = true; AnalysisEngine.instance.processRequiredPlugins(); diff --git a/pubspec.yaml b/pubspec.yaml index 4da196ade9..7eb6bfc88e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,11 @@ name: dartdoc # Also update the `version` field in lib/dartdoc.dart. -version: 0.14.1 +version: 0.15.0 author: Dart Team description: A documentation generator for Dart. homepage: https://github.com/dart-lang/dartdoc environment: - sdk: '>=1.23.0-dev.11.5 <2.0.0' + sdk: '>=1.24.0 <2.0.0' dependencies: analyzer: ^0.30.0 args: ^0.13.0 diff --git a/test/model_test.dart b/test/model_test.dart index decac3ab51..c95e000582 100644 --- a/test/model_test.dart +++ b/test/model_test.dart @@ -930,6 +930,7 @@ void main() { ModelFunction f1; ModelFunction genericFunction; ModelFunction thisIsAsync; + ModelFunction thisIsFutureOr; ModelFunction topLevelFunction; setUp(() { @@ -938,6 +939,8 @@ void main() { exLibrary.functions.firstWhere((f) => f.name == 'genericFunction'); thisIsAsync = fakeLibrary.functions.firstWhere((f) => f.name == 'thisIsAsync'); + thisIsFutureOr = + fakeLibrary.functions.firstWhere((f) => f.name == 'thisIsFutureOr'); topLevelFunction = fakeLibrary.functions.firstWhere((f) => f.name == 'topLevelFunction'); }); @@ -983,6 +986,11 @@ void main() { '

An async function. It should look like I return a Future.

')); }); + test('function returning FutureOr', () { + expect(thisIsFutureOr.isAsynchronous, isFalse); + expect(thisIsFutureOr.linkedReturnType, equals('FutureOr')); + }); + test('docs do not lose brackets in code blocks', () { expect(topLevelFunction.documentation, contains("['hello from dart']")); }); diff --git a/test/src/utils.dart b/test/src/utils.dart index 5d9c8baa9f..f4fd3d92ca 100644 --- a/test/src/utils.dart +++ b/test/src/utils.dart @@ -97,6 +97,10 @@ class AnalyzerHelper { SourceFactory sourceFactory = new SourceFactory(resolvers); AnalysisEngine.instance.processRequiredPlugins(); context = AnalysisEngine.instance.createAnalysisContext(); + // Consistency with analysis context configuration in dartdoc.dart. + context.analysisOptions = new AnalysisOptionsImpl() + ..enableAssertInitializer = true + ..strongMode = true; context.sourceFactory = sourceFactory; } diff --git a/testing/test_package/lib/fake.dart b/testing/test_package/lib/fake.dart index 2f66ae178b..89fda7bad8 100644 --- a/testing/test_package/lib/fake.dart +++ b/testing/test_package/lib/fake.dart @@ -487,6 +487,21 @@ thisIsAsync() async => 42; /// Explicitly returns a Future and is marked async. Future thisIsAlsoAsync() async => 43; +/// Explicitly return a `FutureOr`. +FutureOr thisIsFutureOr() => null; + +/// Explicitly return a `FutureOr`. +FutureOr thisIsFutureOrNull() => null; + +/// Explicitly return a `FutureOr`. +FutureOr thisIsFutureOrT() => null; + +/// Has a parameter explicitly typed `FutureOr`. +void paramOfFutureOrNull(FutureOr future) {} + +/// Has a type parameter bound to `FutureOr`. +void typeParamOfFutureOr>() {} + /// A generic function with a type parameter. void myGenericFunction(int a, bool b, S c) { return; diff --git a/testing/test_package_docs/ex/Dog-class.html b/testing/test_package_docs/ex/Dog-class.html index 3e8621eb93..9f82fce651 100644 --- a/testing/test_package_docs/ex/Dog-class.html +++ b/testing/test_package_docs/ex/Dog-class.html @@ -353,7 +353,7 @@

Operators

operator ==(other) - → dynamic + → bool
diff --git a/testing/test_package_docs/ex/Dog/operator_equals.html b/testing/test_package_docs/ex/Dog/operator_equals.html index 44852e4075..a50c87e312 100644 --- a/testing/test_package_docs/ex/Dog/operator_equals.html +++ b/testing/test_package_docs/ex/Dog/operator_equals.html @@ -92,7 +92,7 @@
class Dog
  • @override
  • - dynamic + bool operator ==(other) diff --git a/testing/test_package_docs/ex/F-class.html b/testing/test_package_docs/ex/F-class.html index 49f9037a4f..7c0917202a 100644 --- a/testing/test_package_docs/ex/F-class.html +++ b/testing/test_package_docs/ex/F-class.html @@ -349,7 +349,7 @@

    Operators

    operator ==(other) - → dynamic + → bool
    diff --git a/testing/test_package_docs/ex/Klass-class.html b/testing/test_package_docs/ex/Klass-class.html index 3321afb243..cd74d72d28 100644 --- a/testing/test_package_docs/ex/Klass-class.html +++ b/testing/test_package_docs/ex/Klass-class.html @@ -193,7 +193,7 @@

    Methods

    toString() - → dynamic + → String
    diff --git a/testing/test_package_docs/ex/Klass/toString.html b/testing/test_package_docs/ex/Klass/toString.html index 1a1396f58f..ae3e717776 100644 --- a/testing/test_package_docs/ex/Klass/toString.html +++ b/testing/test_package_docs/ex/Klass/toString.html @@ -72,7 +72,7 @@
    class Klass
  • @override
  • - dynamic + String toString()
    diff --git a/testing/test_package_docs/ex/ex-library.html b/testing/test_package_docs/ex/ex-library.html index 4bd17d4c2a..ba123f8b5f 100644 --- a/testing/test_package_docs/ex/ex-library.html +++ b/testing/test_package_docs/ex/ex-library.html @@ -262,7 +262,7 @@

    Constants

    incorrectDocReference - → dynamic + → String
    This is the same name as a top-level const from the fake lib. @@ -273,7 +273,7 @@

    Constants

    incorrectDocReferenceFromEx - → dynamic + → String
    This should not work. diff --git a/testing/test_package_docs/fake/Annotation-class.html b/testing/test_package_docs/fake/Annotation-class.html index 724ad3c22a..e5037528c4 100644 --- a/testing/test_package_docs/fake/Annotation-class.html +++ b/testing/test_package_docs/fake/Annotation-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/AnotherInterface-class.html b/testing/test_package_docs/fake/AnotherInterface-class.html index 1a3ed2ed12..1fc743c6bc 100644 --- a/testing/test_package_docs/fake/AnotherInterface-class.html +++ b/testing/test_package_docs/fake/AnotherInterface-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/BaseForDocComments-class.html b/testing/test_package_docs/fake/BaseForDocComments-class.html index c52355d80e..d64cb0418c 100644 --- a/testing/test_package_docs/fake/BaseForDocComments-class.html +++ b/testing/test_package_docs/fake/BaseForDocComments-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/BaseThingy-class.html b/testing/test_package_docs/fake/BaseThingy-class.html index e95948a137..2f5f6ab6ad 100644 --- a/testing/test_package_docs/fake/BaseThingy-class.html +++ b/testing/test_package_docs/fake/BaseThingy-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/BaseThingy2-class.html b/testing/test_package_docs/fake/BaseThingy2-class.html index 8e72e0b1fe..c005910dfa 100644 --- a/testing/test_package_docs/fake/BaseThingy2-class.html +++ b/testing/test_package_docs/fake/BaseThingy2-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html b/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html index 1620e4d30d..e5b0fda8bc 100644 --- a/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html +++ b/testing/test_package_docs/fake/CUSTOM_CLASS-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Callback2.html b/testing/test_package_docs/fake/Callback2.html index 1744e8a843..cb304abb01 100644 --- a/testing/test_package_docs/fake/Callback2.html +++ b/testing/test_package_docs/fake/Callback2.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html b/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html index 946bbc0ccc..2525fba06b 100644 --- a/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html +++ b/testing/test_package_docs/fake/ClassWithUnusualProperties-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Color-class.html b/testing/test_package_docs/fake/Color-class.html index 0cc7f3c0cc..7855b6fac1 100644 --- a/testing/test_package_docs/fake/Color-class.html +++ b/testing/test_package_docs/fake/Color-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ConstantClass-class.html b/testing/test_package_docs/fake/ConstantClass-class.html index 05fcd7f1eb..a5c7233274 100644 --- a/testing/test_package_docs/fake/ConstantClass-class.html +++ b/testing/test_package_docs/fake/ConstantClass-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Cool-class.html b/testing/test_package_docs/fake/Cool-class.html index 99bc289231..9a11810683 100644 --- a/testing/test_package_docs/fake/Cool-class.html +++ b/testing/test_package_docs/fake/Cool-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/DOWN-constant.html b/testing/test_package_docs/fake/DOWN-constant.html index c75bd38739..4f2b954683 100644 --- a/testing/test_package_docs/fake/DOWN-constant.html +++ b/testing/test_package_docs/fake/DOWN-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Doh-class.html b/testing/test_package_docs/fake/Doh-class.html index cb6baef009..3b51ccfa45 100644 --- a/testing/test_package_docs/fake/Doh-class.html +++ b/testing/test_package_docs/fake/Doh-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ExtraSpecialList-class.html b/testing/test_package_docs/fake/ExtraSpecialList-class.html index 07ed33f942..2ad3e0a577 100644 --- a/testing/test_package_docs/fake/ExtraSpecialList-class.html +++ b/testing/test_package_docs/fake/ExtraSpecialList-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/FakeProcesses.html b/testing/test_package_docs/fake/FakeProcesses.html index d7a0e23ec4..0748761128 100644 --- a/testing/test_package_docs/fake/FakeProcesses.html +++ b/testing/test_package_docs/fake/FakeProcesses.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Foo2-class.html b/testing/test_package_docs/fake/Foo2-class.html index 15f0d5f5ca..837ce0d7da 100644 --- a/testing/test_package_docs/fake/Foo2-class.html +++ b/testing/test_package_docs/fake/Foo2-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/GenericTypedef.html b/testing/test_package_docs/fake/GenericTypedef.html index 9ed709709e..23c27c4a65 100644 --- a/testing/test_package_docs/fake/GenericTypedef.html +++ b/testing/test_package_docs/fake/GenericTypedef.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/HasGenericWithExtends-class.html b/testing/test_package_docs/fake/HasGenericWithExtends-class.html index 3e6e26e78e..4ab22abf11 100644 --- a/testing/test_package_docs/fake/HasGenericWithExtends-class.html +++ b/testing/test_package_docs/fake/HasGenericWithExtends-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/HasGenerics-class.html b/testing/test_package_docs/fake/HasGenerics-class.html index 81131822f3..5655a54925 100644 --- a/testing/test_package_docs/fake/HasGenerics-class.html +++ b/testing/test_package_docs/fake/HasGenerics-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ImplementingThingy-class.html b/testing/test_package_docs/fake/ImplementingThingy-class.html index 7437f130a9..447a1b664e 100644 --- a/testing/test_package_docs/fake/ImplementingThingy-class.html +++ b/testing/test_package_docs/fake/ImplementingThingy-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ImplementingThingy2-class.html b/testing/test_package_docs/fake/ImplementingThingy2-class.html index d85b9ddac8..f0564f8346 100644 --- a/testing/test_package_docs/fake/ImplementingThingy2-class.html +++ b/testing/test_package_docs/fake/ImplementingThingy2-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ImplicitProperties-class.html b/testing/test_package_docs/fake/ImplicitProperties-class.html index 2d749a9668..02e7eff331 100644 --- a/testing/test_package_docs/fake/ImplicitProperties-class.html +++ b/testing/test_package_docs/fake/ImplicitProperties-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Interface-class.html b/testing/test_package_docs/fake/Interface-class.html index 67e66a8fb9..9a4319499d 100644 --- a/testing/test_package_docs/fake/Interface-class.html +++ b/testing/test_package_docs/fake/Interface-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/LongFirstLine-class.html b/testing/test_package_docs/fake/LongFirstLine-class.html index 495a240275..6672cfd548 100644 --- a/testing/test_package_docs/fake/LongFirstLine-class.html +++ b/testing/test_package_docs/fake/LongFirstLine-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • @@ -428,7 +433,7 @@

    Constants

    THING - → dynamic + → String
    diff --git a/testing/test_package_docs/fake/LongFirstLine/THING-constant.html b/testing/test_package_docs/fake/LongFirstLine/THING-constant.html index c790b498d0..de2469e91c 100644 --- a/testing/test_package_docs/fake/LongFirstLine/THING-constant.html +++ b/testing/test_package_docs/fake/LongFirstLine/THING-constant.html @@ -87,7 +87,7 @@
    class LongFirstLine
    - dynamic + String THING = 'yup'
    diff --git a/testing/test_package_docs/fake/LotsAndLotsOfParameters.html b/testing/test_package_docs/fake/LotsAndLotsOfParameters.html index e02071a0a4..508f9a9354 100644 --- a/testing/test_package_docs/fake/LotsAndLotsOfParameters.html +++ b/testing/test_package_docs/fake/LotsAndLotsOfParameters.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/MixMeIn-class.html b/testing/test_package_docs/fake/MixMeIn-class.html index 6b26a5fd44..9c81b02e3a 100644 --- a/testing/test_package_docs/fake/MixMeIn-class.html +++ b/testing/test_package_docs/fake/MixMeIn-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html b/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html index b9b0078f1d..9db960a21d 100644 --- a/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html +++ b/testing/test_package_docs/fake/NAME_SINGLEUNDERSCORE-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html b/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html index bf3346d197..afea1c30ff 100644 --- a/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html +++ b/testing/test_package_docs/fake/NAME_WITH_TWO_UNDERSCORES-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/NewGenericTypedef.html b/testing/test_package_docs/fake/NewGenericTypedef.html index 449a8244df..bf4d4dc597 100644 --- a/testing/test_package_docs/fake/NewGenericTypedef.html +++ b/testing/test_package_docs/fake/NewGenericTypedef.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/Oops-class.html b/testing/test_package_docs/fake/Oops-class.html index 5619ab9326..56481c98fd 100644 --- a/testing/test_package_docs/fake/Oops-class.html +++ b/testing/test_package_docs/fake/Oops-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/OperatorReferenceClass-class.html b/testing/test_package_docs/fake/OperatorReferenceClass-class.html index d91050ffef..9ac30d79c5 100644 --- a/testing/test_package_docs/fake/OperatorReferenceClass-class.html +++ b/testing/test_package_docs/fake/OperatorReferenceClass-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/OtherGenericsThing-class.html b/testing/test_package_docs/fake/OtherGenericsThing-class.html index 4a1c69aac9..2ea788d790 100644 --- a/testing/test_package_docs/fake/OtherGenericsThing-class.html +++ b/testing/test_package_docs/fake/OtherGenericsThing-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/PI-constant.html b/testing/test_package_docs/fake/PI-constant.html index ad707e5d87..9bee451e50 100644 --- a/testing/test_package_docs/fake/PI-constant.html +++ b/testing/test_package_docs/fake/PI-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/SpecialList-class.html b/testing/test_package_docs/fake/SpecialList-class.html index 2ecf7757e2..c3445b29b9 100644 --- a/testing/test_package_docs/fake/SpecialList-class.html +++ b/testing/test_package_docs/fake/SpecialList-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/SubForDocComments-class.html b/testing/test_package_docs/fake/SubForDocComments-class.html index 7db2bb1167..dfa22f919d 100644 --- a/testing/test_package_docs/fake/SubForDocComments-class.html +++ b/testing/test_package_docs/fake/SubForDocComments-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/SuperAwesomeClass-class.html b/testing/test_package_docs/fake/SuperAwesomeClass-class.html index 875582cbbe..0f2933fe8b 100644 --- a/testing/test_package_docs/fake/SuperAwesomeClass-class.html +++ b/testing/test_package_docs/fake/SuperAwesomeClass-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/UP-constant.html b/testing/test_package_docs/fake/UP-constant.html index f1df38478c..b2ae81ba90 100644 --- a/testing/test_package_docs/fake/UP-constant.html +++ b/testing/test_package_docs/fake/UP-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/VoidCallback.html b/testing/test_package_docs/fake/VoidCallback.html index b6b12167f9..6478f8668d 100644 --- a/testing/test_package_docs/fake/VoidCallback.html +++ b/testing/test_package_docs/fake/VoidCallback.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/WithGetterAndSetter-class.html b/testing/test_package_docs/fake/WithGetterAndSetter-class.html index 95d90d914d..7f9f934b31 100644 --- a/testing/test_package_docs/fake/WithGetterAndSetter-class.html +++ b/testing/test_package_docs/fake/WithGetterAndSetter-class.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/ZERO-constant.html b/testing/test_package_docs/fake/ZERO-constant.html index 1243f03550..a1caa04359 100644 --- a/testing/test_package_docs/fake/ZERO-constant.html +++ b/testing/test_package_docs/fake/ZERO-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/addCallback.html b/testing/test_package_docs/fake/addCallback.html index b2c3c5b44b..0186fbee7f 100644 --- a/testing/test_package_docs/fake/addCallback.html +++ b/testing/test_package_docs/fake/addCallback.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/addCallback2.html b/testing/test_package_docs/fake/addCallback2.html index 86f277d33f..4c5c8b861c 100644 --- a/testing/test_package_docs/fake/addCallback2.html +++ b/testing/test_package_docs/fake/addCallback2.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/dynamicGetter.html b/testing/test_package_docs/fake/dynamicGetter.html index 260f167e9e..f509fa894d 100644 --- a/testing/test_package_docs/fake/dynamicGetter.html +++ b/testing/test_package_docs/fake/dynamicGetter.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/fake-library.html b/testing/test_package_docs/fake/fake-library.html index ee5da4bfc8..72fdd93d8f 100644 --- a/testing/test_package_docs/fake/fake-library.html +++ b/testing/test_package_docs/fake/fake-library.html @@ -248,7 +248,7 @@

    Constants

    DOWN - → dynamic + → String
    Dynamic-typed down. @@ -259,7 +259,7 @@

    Constants

    greatAnnotation - → dynamic + → String
    This is a great thing. @@ -270,7 +270,7 @@

    Constants

    greatestAnnotation - → dynamic + → String
    This is the greatest thing. @@ -281,7 +281,7 @@

    Constants

    incorrectDocReference - → dynamic + → String
    Referencing something that doesn't exist. @@ -325,7 +325,7 @@

    Constants

    required - → dynamic + → String
    @@ -336,7 +336,7 @@

    Constants

    testingCodeSyntaxInOneLiners - → dynamic + → String
    These are code syntaxes: true and false @@ -530,6 +530,15 @@

    Functions

    FooBar comes from another library. +
    +
    + paramOfFutureOrNull(FutureOr<Null> future) + → void + +
    +
    + Has a parameter explicitly typed FutureOr<Null>. +
    short() @@ -567,6 +576,33 @@

    Functions

    An async function. It should look like I return a Future. +
    +
    + thisIsFutureOr() + → FutureOr + +
    +
    + Explicitly return a FutureOr. + +
    +
    + thisIsFutureOrNull() + → FutureOr<Null> + +
    +
    + Explicitly return a FutureOr<Null>. + +
    +
    + thisIsFutureOrT<T>() + → FutureOr<T> + +
    +
    + Explicitly return a FutureOr<T>. +
    topLevelFunction(int param1, bool param2, Cool coolBeans, [ double optionalPositional = 0.0 ]) @@ -576,6 +612,15 @@

    Functions

    Top-level function 3 params and 1 optional positional param. [...] +
    +
    + typeParamOfFutureOr<T extends FutureOr>() + → void + +
    +
    + Has a type parameter bound to FutureOr<List>. +
    @@ -747,11 +792,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/functionWithFunctionParameters.html b/testing/test_package_docs/fake/functionWithFunctionParameters.html index a512edbf57..2125fa8e6e 100644 --- a/testing/test_package_docs/fake/functionWithFunctionParameters.html +++ b/testing/test_package_docs/fake/functionWithFunctionParameters.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/getterSetterNodocGetter.html b/testing/test_package_docs/fake/getterSetterNodocGetter.html index d2b4ed1913..101fcf76e9 100644 --- a/testing/test_package_docs/fake/getterSetterNodocGetter.html +++ b/testing/test_package_docs/fake/getterSetterNodocGetter.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/getterSetterNodocSetter.html b/testing/test_package_docs/fake/getterSetterNodocSetter.html index 7a2634e76e..85d11e1729 100644 --- a/testing/test_package_docs/fake/getterSetterNodocSetter.html +++ b/testing/test_package_docs/fake/getterSetterNodocSetter.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/greatAnnotation-constant.html b/testing/test_package_docs/fake/greatAnnotation-constant.html index 3ecd643bba..d8aa88d4b3 100644 --- a/testing/test_package_docs/fake/greatAnnotation-constant.html +++ b/testing/test_package_docs/fake/greatAnnotation-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/greatestAnnotation-constant.html b/testing/test_package_docs/fake/greatestAnnotation-constant.html index 4e74d1ac58..2df64104cb 100644 --- a/testing/test_package_docs/fake/greatestAnnotation-constant.html +++ b/testing/test_package_docs/fake/greatestAnnotation-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/incorrectDocReference-constant.html b/testing/test_package_docs/fake/incorrectDocReference-constant.html index 9ff0ba6de1..656bab62eb 100644 --- a/testing/test_package_docs/fake/incorrectDocReference-constant.html +++ b/testing/test_package_docs/fake/incorrectDocReference-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/justGetter.html b/testing/test_package_docs/fake/justGetter.html index a58159187f..0a83d13c90 100644 --- a/testing/test_package_docs/fake/justGetter.html +++ b/testing/test_package_docs/fake/justGetter.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/justSetter.html b/testing/test_package_docs/fake/justSetter.html index 53da9938d2..0939f88d30 100644 --- a/testing/test_package_docs/fake/justSetter.html +++ b/testing/test_package_docs/fake/justSetter.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/mapWithDynamicKeys.html b/testing/test_package_docs/fake/mapWithDynamicKeys.html index 179eff9592..0f1d8d039a 100644 --- a/testing/test_package_docs/fake/mapWithDynamicKeys.html +++ b/testing/test_package_docs/fake/mapWithDynamicKeys.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/meaningOfLife.html b/testing/test_package_docs/fake/meaningOfLife.html index 8f9b810093..0341ba3943 100644 --- a/testing/test_package_docs/fake/meaningOfLife.html +++ b/testing/test_package_docs/fake/meaningOfLife.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/myCoolTypedef.html b/testing/test_package_docs/fake/myCoolTypedef.html index 9cbaf0e135..89c355129f 100644 --- a/testing/test_package_docs/fake/myCoolTypedef.html +++ b/testing/test_package_docs/fake/myCoolTypedef.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/myGenericFunction.html b/testing/test_package_docs/fake/myGenericFunction.html index ff0108ffa3..03ef369648 100644 --- a/testing/test_package_docs/fake/myGenericFunction.html +++ b/testing/test_package_docs/fake/myGenericFunction.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html b/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html index 6b7ef67211..47e2837194 100644 --- a/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html +++ b/testing/test_package_docs/fake/onlyPositionalWithNoDefaultNoType.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/paintImage1.html b/testing/test_package_docs/fake/paintImage1.html index cdd3fbd911..4bc518352c 100644 --- a/testing/test_package_docs/fake/paintImage1.html +++ b/testing/test_package_docs/fake/paintImage1.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/paintImage2.html b/testing/test_package_docs/fake/paintImage2.html index 5c96599e5e..3adab0301b 100644 --- a/testing/test_package_docs/fake/paintImage2.html +++ b/testing/test_package_docs/fake/paintImage2.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/paramFromAnotherLib.html b/testing/test_package_docs/fake/paramFromAnotherLib.html index 3ce6a20751..45b1e026af 100644 --- a/testing/test_package_docs/fake/paramFromAnotherLib.html +++ b/testing/test_package_docs/fake/paramFromAnotherLib.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/paramOfFutureOrNull.html b/testing/test_package_docs/fake/paramOfFutureOrNull.html new file mode 100644 index 0000000000..dafbfd123a --- /dev/null +++ b/testing/test_package_docs/fake/paramOfFutureOrNull.html @@ -0,0 +1,170 @@ + + + + + + + + paramOfFutureOrNull function - fake library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    paramOfFutureOrNull
    + +
    + +
    + + + +
    + +
    + void + paramOfFutureOrNull(FutureOr<Null> future) +
    +
    +

    Has a parameter explicitly typed FutureOr<Null>.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/required-constant.html b/testing/test_package_docs/fake/required-constant.html index e5dce92dff..81995be4f9 100644 --- a/testing/test_package_docs/fake/required-constant.html +++ b/testing/test_package_docs/fake/required-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/setAndGet.html b/testing/test_package_docs/fake/setAndGet.html index 388c48b77d..508d8da08d 100644 --- a/testing/test_package_docs/fake/setAndGet.html +++ b/testing/test_package_docs/fake/setAndGet.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/short.html b/testing/test_package_docs/fake/short.html index d683869232..be38863223 100644 --- a/testing/test_package_docs/fake/short.html +++ b/testing/test_package_docs/fake/short.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/simpleProperty.html b/testing/test_package_docs/fake/simpleProperty.html index 3b780a5c5e..ff27cfd6c9 100644 --- a/testing/test_package_docs/fake/simpleProperty.html +++ b/testing/test_package_docs/fake/simpleProperty.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/soIntense.html b/testing/test_package_docs/fake/soIntense.html index d11db52346..7bc1e52d10 100644 --- a/testing/test_package_docs/fake/soIntense.html +++ b/testing/test_package_docs/fake/soIntense.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html b/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html index c8b771087c..6c8854caf0 100644 --- a/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html +++ b/testing/test_package_docs/fake/testingCodeSyntaxInOneLiners-constant.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/thisIsAlsoAsync.html b/testing/test_package_docs/fake/thisIsAlsoAsync.html index 7a06e78921..5687d3b721 100644 --- a/testing/test_package_docs/fake/thisIsAlsoAsync.html +++ b/testing/test_package_docs/fake/thisIsAlsoAsync.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/thisIsAsync.html b/testing/test_package_docs/fake/thisIsAsync.html index bd5f0e92c6..835fb49c9a 100644 --- a/testing/test_package_docs/fake/thisIsAsync.html +++ b/testing/test_package_docs/fake/thisIsAsync.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/thisIsFutureOr.html b/testing/test_package_docs/fake/thisIsFutureOr.html new file mode 100644 index 0000000000..0a82f950b8 --- /dev/null +++ b/testing/test_package_docs/fake/thisIsFutureOr.html @@ -0,0 +1,170 @@ + + + + + + + + thisIsFutureOr function - fake library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    thisIsFutureOr
    + +
    + +
    + + + +
    + +
    + FutureOr + thisIsFutureOr() +
    +
    +

    Explicitly return a FutureOr.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/thisIsFutureOrNull.html b/testing/test_package_docs/fake/thisIsFutureOrNull.html new file mode 100644 index 0000000000..4b05ea57cc --- /dev/null +++ b/testing/test_package_docs/fake/thisIsFutureOrNull.html @@ -0,0 +1,170 @@ + + + + + + + + thisIsFutureOrNull function - fake library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    thisIsFutureOrNull
    + +
    + +
    + + + +
    + +
    + FutureOr<Null> + thisIsFutureOrNull() +
    +
    +

    Explicitly return a FutureOr<Null>.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/thisIsFutureOrT.html b/testing/test_package_docs/fake/thisIsFutureOrT.html new file mode 100644 index 0000000000..45e3ab425c --- /dev/null +++ b/testing/test_package_docs/fake/thisIsFutureOrT.html @@ -0,0 +1,170 @@ + + + + + + + + thisIsFutureOrT function - fake library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    thisIsFutureOrT
    + +
    + +
    + + + +
    + +
    + FutureOr<T> + thisIsFutureOrT<T>() +
    +
    +

    Explicitly return a FutureOr<T>.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/fake/topLevelFunction.html b/testing/test_package_docs/fake/topLevelFunction.html index f8d7897f20..59495cb2e2 100644 --- a/testing/test_package_docs/fake/topLevelFunction.html +++ b/testing/test_package_docs/fake/topLevelFunction.html @@ -98,11 +98,16 @@
    library fake
  • paintImage1
  • paintImage2
  • paramFromAnotherLib
  • +
  • paramOfFutureOrNull
  • short
  • soIntense
  • thisIsAlsoAsync
  • thisIsAsync
  • +
  • thisIsFutureOr
  • +
  • thisIsFutureOrNull
  • +
  • thisIsFutureOrT
  • topLevelFunction
  • +
  • typeParamOfFutureOr
  • Enums
  • Color
  • diff --git a/testing/test_package_docs/fake/typeParamOfFutureOr.html b/testing/test_package_docs/fake/typeParamOfFutureOr.html new file mode 100644 index 0000000000..a1bd6cdb13 --- /dev/null +++ b/testing/test_package_docs/fake/typeParamOfFutureOr.html @@ -0,0 +1,170 @@ + + + + + + + + typeParamOfFutureOr function - fake library - Dart API + + + + + + + + + + + + +
    + +
    + + +
    typeParamOfFutureOr
    + +
    + +
    + + + +
    + +
    + void + typeParamOfFutureOr<T extends FutureOr>() +
    +
    +

    Has a type parameter bound to FutureOr<List>.

    +
    + + + +
    + + + +
    + +
    + + test_package 0.0.1 + + • + + cc license + + +
    + + + + + + + + + + + diff --git a/testing/test_package_docs/index.html b/testing/test_package_docs/index.html index b37c5589a9..183b1453cf 100644 --- a/testing/test_package_docs/index.html +++ b/testing/test_package_docs/index.html @@ -4,7 +4,7 @@ - + test_package - Dart API docs diff --git a/testing/test_package_docs/index.json b/testing/test_package_docs/index.json index f0aa63a07a..7e65232285 100644 --- a/testing/test_package_docs/index.json +++ b/testing/test_package_docs/index.json @@ -6586,6 +6586,17 @@ "type": "library" } }, + { + "name": "paramOfFutureOrNull", + "qualifiedName": "fake.paramOfFutureOrNull", + "href": "fake/paramOfFutureOrNull.html", + "type": "function", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, { "name": "required", "qualifiedName": "fake.required", @@ -6674,6 +6685,39 @@ "type": "library" } }, + { + "name": "thisIsFutureOr", + "qualifiedName": "fake.thisIsFutureOr", + "href": "fake/thisIsFutureOr.html", + "type": "function", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, + { + "name": "thisIsFutureOrNull", + "qualifiedName": "fake.thisIsFutureOrNull", + "href": "fake/thisIsFutureOrNull.html", + "type": "function", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, + { + "name": "thisIsFutureOrT", + "qualifiedName": "fake.thisIsFutureOrT", + "href": "fake/thisIsFutureOrT.html", + "type": "function", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, { "name": "topLevelFunction", "qualifiedName": "fake.topLevelFunction", @@ -6685,6 +6729,17 @@ "type": "library" } }, + { + "name": "typeParamOfFutureOr", + "qualifiedName": "fake.typeParamOfFutureOr", + "href": "fake/typeParamOfFutureOr.html", + "type": "function", + "overriddenDepth": 0, + "enclosedBy": { + "name": "fake", + "type": "library" + } + }, { "name": "is_deprecated", "qualifiedName": "is_deprecated", diff --git a/testing/test_package_small/pubspec.lock b/testing/test_package_small/pubspec.lock new file mode 100644 index 0000000000..c427295339 --- /dev/null +++ b/testing/test_package_small/pubspec.lock @@ -0,0 +1,5 @@ +# Generated by pub +# See http://pub.dartlang.org/doc/glossary.html#lockfile +packages: {} +sdks: + dart: any