Skip to content

Analysis errors are not reported for invalid filenames in conditional imports #3422

Closed

Description

@DanTup

Split from #3071.

import 'image_cropper/cropper_stub.dart'
    if (dart.library.io) 'image_cropper/cropper_mobile.dart' // no error/warning if file doesn't exist
    if (dart.library.html) 'image_cropper/cropper_web.dart';

Activity

  1. added
    in editorRelates to code editing or language features
    in lsp/analysis serverSomething to be fixed in the Dart analysis server
    on Jun 21, 2021
  2. added this to the On Deck milestone on Jun 21, 2021
  3. modified the milestones: On Deck, v3.25.0 on Jun 28, 2021
  4. modified the milestones: v3.25.0, v3.26.0 on Jul 20, 2021
  5. modified the milestones: v3.26.0, On Deck on Aug 24, 2021
  6. modified the milestones: On Deck, v3.30.0 on Dec 2, 2021
  7. modified the milestones: v3.32.0, v3.34.0 on Dec 29, 2021
  8. DanTup commented on Jan 5, 2022

    @DanTup
    MemberAuthor
  9. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    and removed on Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions