GH-926: Improve type-checking for ternary conditional operator

This commit is contained in:
Jon Siwek 2020-08-21 18:33:14 -07:00
parent 9f802b2a4d
commit 3bc5309e9e
8 changed files with 146 additions and 39 deletions

View file

@ -39,8 +39,8 @@ function test_cmd(label: string, cmd: Exec::Command)
print fmt("%s - exit: %s, signal: %s, stdout: %s, stderr: %s, files: %s",
label, result$exit_code, result$signal_exit,
result?$stdout ? result$stdout : "",
result?$stderr ? result$stderr : "",
result?$stdout ? cat(result$stdout) : "",
result?$stderr ? cat(result$stderr) : "",
file_content);
check_exit_condition();