Skip to content

HTTP Imports with Analyzer #23033

@DartBot

Description

@DartBot

This issue was originally filed by @kaendfinger


What steps will reproduce the problem?

  1. Clone https://github.com/DirectMyFile/tricks
  2. dartanalyzer http_imports.dart

What is the expected output? What do you see instead?

It should say no issues found. Instead it does not resolve HTTP Imports, which results in undefined functions.

➜ tricks git:(master) dartanalyzer http_imports.dart
Analyzing [http_imports.dart]...
[error] Target of URI does not exist: 'https://raw.githubusercontent.com/DirectMyFile/scraps/master/numbers/ack.dart' (/Users/alex/DirectCode/tricks/http_imports.dart, line 2, col 8)
[warning] The function 'ack' is not defined (/Users/alex/DirectCode/tricks/http_imports.dart, line 5, col 9)
1 error and 1 warning found.

What version of the product are you using?

➜ tricks git:(master) dart --version
Dart VM version: 1.9.0-edge.44648 (Mon Mar 23 14:32:53 2015) on "macos_x64"
On what operating system?
Mac OSX 10.10.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issuelegacy-area-analyzerUse area-devexp instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions