Skip to content

Line longer than 80 characters in class type parameters #1568

@stereotype441

Description

@stereotype441

https://dart-review.googlesource.com/c/sdk/+/386736 introduces several declarations that look similar to this:

abstract interface class TypeAnalyzerOperations<
        TypeStructure extends SharedTypeStructure<TypeStructure>,
        Variable extends Object,
        TypeParameterStructure extends SharedTypeParameterStructure<TypeStructure>,
        TypeDeclarationType extends Object,
        TypeDeclaration extends Object>
    implements FlowAnalysisOperations<Variable, SharedTypeView<TypeStructure>> {
  ...
}

Note that the line TypeParameterStructure extends SharedTypeParameterStructure<TypeStructure>, is longer than 80 characters. The formatter insists on placing this text all on the same line, causing failures in the lines_longer_than_80_chars lint.

To see more examples, search for the text // ignore: lines_longer_than_80_chars in https://dart-review.googlesource.com/c/sdk/+/386736.

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