diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-25 20:33:37 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-25 21:36:46 -0700 |
commit | b2757892d553352feb59d70b1e7241ccdafa6905 (patch) | |
tree | 5a7597e46daf2db17d2fc5ade66aef3f07c261ce /html/channel.mu.html | |
parent | 64ac91c564a20e2ebf19ad211e987fbfc7fb2719 (diff) | |
download | mu-b2757892d553352feb59d70b1e7241ccdafa6905.tar.gz |
1458
While pushing out color support in fake screens I realized I've been complecting the special-case of a special-case to transform literal-string arguments for 'new'. As a result I hadn't been catching bad habits like giving its arg the wrong type. Now we have cleaner separation of the two variants of 'new', a few more checks, and better error messages when we mis-call it. Aside: I've added a third goto target. Sliding into spaghetti? Keep an eye on it. This goto might become a common pattern: a layer hooking into a previous one to prevent it from happening. In this case new on literal-strings prevents the transform for new from triggering.
Diffstat (limited to 'html/channel.mu.html')
0 files changed, 0 insertions, 0 deletions