Skip to content

Flag-related functionality would use a cleanup #6267

@scabug

Description

@scabug

Arguably we need to get rid of flags in Modifiers (similarly to what've been done for Symbols).

However, it'd also be great to support the following use case:

def buildParams(methodType: Type) =
  paramss(methodType) map { params =>
    params map { p =>
      ValDef(
        Modifiers(p.flags),
        newTermName(p.name.toString),
        paramType(p.typeSignature),
        EmptyTree)
    }
  }

Rather controversial requirements, but this only makes it more interesting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions