Skip to content

runtime: type::accepts が数値の union validator で誤判定(Status(42) がランタイム ng) #114

Description

@redpeacock78

現状

union validator を通した数値(例: Status(42))がランタイムで ng になる。v1 と v2 で同一挙動(bug-for-bug parity 確認済み)であり、desugar の責務ではなく type::accepts のランタイム挙動の問題。

対応案

core 側 type::accepts の数値判定を修正する。desugar 側の変更は不要。

出典

dsl-v2 レビュー H4(v1 parity 確認済みのため desugar マージはブロックせず issue 化と判定)。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions