Skip to content

dartdoc does not understand sdk_ext #763

@eseidelGoogle

Description

@eseidelGoogle

sky uses the new sdk_ext feature of the analysis server to define dart:sky. Unfortunately dartdoc doesn't seem to understand this?

  • create a pubspec.yaml:
name: docdemo
dependencies:
  sky: any
  • create a lib/main.dart:
import 'dart:sky';

class Test {
    Color color;
}
  • pub get
  • dartdoc

Generating documentation for 'docdemo' into /src/docdemo/doc/api/

parsing lib/main.dart...
Parsed 1 file in 3.2 seconds.

[error] Target of URI does not exist: 'dart:sky' at lib/main.dart, line 1.
Generation failed: encountered 1 analysis error.

@abarth

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions