Skip to content
This repository was archived by the owner on Dec 6, 2017. It is now read-only.
This repository was archived by the owner on Dec 6, 2017. It is now read-only.

Registering the same type twice in a single module should provide an error rather than silent override of the type. #48

@mhevery

Description

@mhevery

This should be an error.

new Module()
  ..value(String, null)
  ..value(String, '');

There is no reason why within a single module one should be able to give two different definitions to the same type, and is most likely an error and should be reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions