You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the errors below when generating docs for a package. I'm not generating docs for the sdk, or using the --auto-include-dependencies flag. It's not clear to me why I'm getting these errors, and if they mean I have issues in my code, the sdk has issues, or there's a bug in dartdoc.
generating docs for library analysis_server_lib from analysis_server_lib.dart...
warning: no canonical library found for dart-core.String, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/string.dart:92:16)
warning: no canonical library found for dart-core.int, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/int.dart:20:16)
warning: no canonical library found for dart-core.Type, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/type.dart:10:16)
warning: no canonical library found for dart-core.Map, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/map.dart:28:16)
warning: no canonical library found for dart-core.Invocation, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/invocation.dart:14:16)
warning: no canonical library found for dart-core.bool, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/bool.dart:14:7)
warning: no canonical library found for dart-core.List, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/list.dart:54:16)
warning: unresolved doc reference [identityHashCode], from analysis_server_lib.AnalysisAnalyzedFiles.hashCode (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/object.dart)
warning: unresolved doc reference [HashSet], from analysis_server_lib.AnalysisAnalyzedFiles.hashCode (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/object.dart)
warning: unresolved doc reference [HashMap], from analysis_server_lib.AnalysisAnalyzedFiles.hashCode (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/object.dart)
warning: no canonical library found for dart-core.NoSuchMethodError, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/errors.dart:431:7)
warning: no canonical library found for dart-core.Object, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/object.dart:21:7)
warning: no canonical library found for dart-async.Stream, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/async/stream.dart:76:16)
warning: no canonical library found for dart-async.Future, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/async/future.dart:136:16)
warning: unresolved doc reference [identityHashCode], from analysis_server_lib.AnalysisError.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
warning: unresolved doc reference [HashSet], from analysis_server_lib.AnalysisError.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
warning: unresolved doc reference [HashMap], from analysis_server_lib.AnalysisError.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
warning: no canonical library found for dart-async.Completer, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/async/future.dart:752:16)
warning: no canonical library found for dart-core.Function, not linking (file:///usr/local/Cellar/dart/1.24.0-dev.3.0/libexec/lib/core/function.dart:13:16)
warning: unresolved doc reference [identityHashCode], from analysis_server_lib.Location.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
warning: unresolved doc reference [HashSet], from analysis_server_lib.Location.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
warning: unresolved doc reference [HashMap], from analysis_server_lib.Location.hashCode (file:///Users/devoncarew/projects/devoncarew/analysis_server_lib/lib/analysis_server_lib.dart)
The text was updated successfully, but these errors were encountered:
Dartdoc still has a few bugs in our warnings. We should not warn on no canonical library by default for objects outside of the package(s) we are documenting (at least, until we have external linking).
For unresolved doc references, those are mostly real and I'm working on squishing the ones that aren't.
I see the errors below when generating docs for a package. I'm not generating docs for the sdk, or using the
--auto-include-dependencies
flag. It's not clear to me why I'm getting these errors, and if they mean I have issues in my code, the sdk has issues, or there's a bug in dartdoc.The text was updated successfully, but these errors were encountered: