Skip to content

Disallow overriding of runtimeType #4283

Open
@jakemac53

Description

@jakemac53

We should consider blocking overrides of runtimeType, as a language versioned change so it can be considered non-breaking. Existing code will work until the language version they are currently on is no longer supported, which is anyways breaking.

Is there any valid use case for overriding runtimeType?

There was some previous discussion here #3357, but it feels deserving of its own issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProposed language feature that solves one or more problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions