Skip to content

[Formatting issue] Missing trailing commas for positional parameters after a multiline collection #1763

@rrousselGit

Description

@rrousselGit

What input code did you provide to the formatter?

              builder.writeImportedName(
                [Uri.parse('package:riverpod_annotation/riverpod_annotation.dart')],
                'riverpod',
              );

What output did the formatter produce?

              builder.writeImportedName([
                Uri.parse(
                  'package:riverpod_annotation/riverpod_annotation.dart',
                ),
              ], 'riverpod');

What output did you expect or want the formatter to produce?

Describe how you expected the formatter to format the code, ideally by showing what you had in mind as code.

              builder.writeImportedName(
                [
                  Uri.parse(
                    'package:riverpod_annotation/riverpod_annotation.dart',
                  ),
                ],
                'riverpod',
              );

Anything else we should know?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions