Skip to content

Migration tool should convert @required to new required keyword #38462

@stereotype441

Description

@stereotype441

Consider the following code:

import 'package:meta/meta.dart';
void f({@required String s}) {}

The migration tool currently leaves this code untouched. It should be changed so that it changes @required to the new required keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NNBDIssues related to NNBD ReleaseP1A high priority bug; for example, a single project is unusable or has many test failuresarea-migration (deprecated)Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions