diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-25 22:30:36 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-25 22:30:36 -0800 |
commit | eb2b6cd21e06b3a421ede3f7a6ae78b932dcab19 (patch) | |
tree | 88145f60924cc2d2ab69e7ca517c6ff7d24cdd12 /088file.mu | |
parent | cfa5a9f88756443f6d857726ace97ebbb3967d76 (diff) | |
download | mu-eb2b6cd21e06b3a421ede3f7a6ae78b932dcab19.tar.gz |
3693
Diffstat (limited to '088file.mu')
-rw-r--r-- | 088file.mu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/088file.mu b/088file.mu index fb03e8bf..e91723ab 100644 --- a/088file.mu +++ b/088file.mu @@ -90,7 +90,11 @@ def start-writing resources:&:resources, filename:text -> sink:&:sink:char, rout } # real file system file:num <- $open-file-for-writing filename - assert file, [no such file] + { + break-if file + msg:text <- append [no such file: ] filename + assert file, msg + } routine-id <- start-running transmit-to-file file, source ] |