021 refine scope conflict refused

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

Code

input.k

Actual compiler output

refine input:Sample: value: i64 & >=1000
error[KORU205]: std/refine(Sample): field 'value' refines to nothing — '>=1000' and '<=255' cannot both hold
  --> tests/regression/600_STDLIB/671_REFINE/671_021_refine_scope_conflict_refused/input.k:18: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 & >=1000)
flow ~std/refine click a branch to expand · @labels scroll to their anchor
std/refine|fpga (Sample, source: value: i64 & <=255)

Test Configuration

MUST_ERROR