025 refine eq scope conflict refused

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

refine input:Sample: value: i64 & ==8080
error[KORU205]: std/refine(Sample): field 'value' refines to nothing — '==8080' and '==9090' cannot both hold
  --> tests/regression/600_STDLIB/671_REFINE/671_025_refine_eq_scope_conflict_refused/input.k:19:0

Must contain:

refines to nothing

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Sample, source: value: i64)
flow ~std/refine click a branch to expand · @labels scroll to their anchor
std/refine (Sample, source: value: i64 & ==8080)
flow ~std/refine click a branch to expand · @labels scroll to their anchor
std/refine|fpga (Sample, source: value: i64 & ==9090)

Test Configuration

MUST_ERROR