Skip to content

unawaited_futures lint does not work on the following line of code #57711

Closed
@nshahan

Description

@nshahan
final cssOutput = sass.compileStringAsync(
        await buildStep.readAsString(inputId),
        importers: [new BuildImporter(buildStep)],
        style: _getValidOutputStyle());

You can see the signature of compileStringAsync() at the link below. It is async and not being awaited but the lint does not give any feedback about it.

https://github.com/sass/dart-sass/blob/8e1d80c4790a9a10afa3ecd0791f8611d5b53b6b/lib/sass.dart#L207

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions