005 refine base mismatch refused

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

Code

input.k

Actual compiler output

error[KORU205]: std/refine(Server): field 'port' declares base 'i32' but the declaration says 'i64' — a meet needs one base, not two
  --> tests/regression/600_STDLIB/671_REFINE/671_005_refine_base_mismatch_refused/input.k:12:0

Must contain:

one base, not two

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Server, source: port: i64)
flow ~std/refine click a branch to expand · @labels scroll to their anchor
std/refine (Server, source: port: i32 & >0)

Test Configuration

MUST_ERROR