021 auto discharge multiple resources

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

Opening: first.txt
Opening: second.txt
Closing file
Closing file

Expected output

Opening: first.txt
Opening: second.txt
Closing file
Closing file

Flows

flow ~open click a branch to expand · @labels scroll to their anchor
open (path: "first.txt")

Imported Files

fs.kz

Test Configuration

MUST_RUN