shelly-shell 0.5.2

A Rust based Unix style shell with a typed and structured language syntax.
1
2
3
4
5
6
# Successful receiver writes survive later errors. Keep the bad return dynamic
# so inference cannot reject the method before its receiver write executes.
check_repl ["id": "R070",
    "name": "Successful receiver writes survive later errors",
    "steps": [["let \$n = 1; fn Integer::fail() { \$self = 7; echo \$missing }", "quiet", ""], ["\$n.fail", "error", "not found"], ["echo \$n", "output", "7"], ["echo \$self", "error", "not found"], ["fn runtime_boolean() { true }; fn Integer::bad(): Integer { \$self = 9; let \$v = runtime_boolean; return \$v }", "quiet", ""], ["\$n.bad", "error", ""], ["echo \$n", "output", "9"]],
    "exit": 0]