010 proto extends blockless pure inheritance

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

hp=9

Expected output

hp=9

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Animal, source: hp: i64)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Cat <: Animal)
flow ~new click a branch to expand · @labels scroll to their anchor
new (Cat)

Test Configuration

MUST_RUN