Skip to content

LogicValue.ofRadixString returns 0 for invalid inputs #616

@mkorbel1

Description

@mkorbel1

Describe the bug

If you call LogicValue.ofRadixString("something") it returns LogicValue.zero. It should instead throw a LogicValueConstructionException.

To Reproduce

No response

Expected behavior

No response

Actual behavior

No response

Additional: Dart SDK info

No response

Additional: pubspec.yaml

Additional: Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions