Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead code not giving any warning or lint error #59622

Closed
Hiteshi-GauravBansal opened this issue Nov 27, 2024 · 1 comment
Closed

Dead code not giving any warning or lint error #59622

Hiteshi-GauravBansal opened this issue Nov 27, 2024 · 1 comment
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response) triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.

Comments

@Hiteshi-GauravBansal
Copy link

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.

@dart-github-bot
Copy link
Collaborator

Summary: The user reports that the code int; does not produce an error, and they are asking why. This is insufficient information to diagnose.

Thank you for reporting this! To help us understand and reproduce the issue, could you please provide the following information:

  • Dart version and tooling diagnostic info (dart info): This will tell us which version of Dart you're using and the versions of other relevant tools.
  • Operating System: Please specify whether you are using Windows, macOS, or Linux.
  • Code Example: Please provide a complete, minimal, reproducible example showing the int; code within a larger context. This will help us understand how it's being used.

Also, please double-check that you're reporting this to the correct repository. If this is not related to the Dart core libraries, the Dart VM, or the Dart compilers, please refer to the list of other repositories in the issue template.

@dart-github-bot dart-github-bot added needs-info We need additional information from the issue author (auto-closed after 14 days if no response) triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. labels Nov 27, 2024
@Hiteshi-GauravBansal Hiteshi-GauravBansal changed the title Dead code not giving any error Dead code not giving any warning or lint error Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response) triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
Projects
None yet
Development

No branches or pull requests

2 participants