Skip to content

Dead code not giving any warning or lint error #59622

@Hiteshi-GauravBansal

Description

@Hiteshi-GauravBansal

when i use int; it not give any error what is the reason for this?

Thank you for taking the time to file an issue! This tracker is for issues related to the Dart analyzer and linter, the Dart core libraries (dart:async, dart:io, etc.), the Dart native and web compilers, and the Dart VM.

When reporting an issue, please include:

  • The Dart version and tooling diagnostic info (dart info)
  • Whether you are using Windows, macOS, or Linux (if applicable)
  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Other pieces of the Dart ecosystem are maintained elsewhere; please file issues in their respective repositories:

If you have a question, instead of using this issue tracker, please refer to the community resources at: https://dart.dev/community#join-the-conversation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoWe need additional information from the issue author (auto-closed after 14 days if no response)triage-automationSee https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions