diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-17 00:05:38 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-17 00:29:22 -0700 |
commit | dd66068298b0a11f2a1f195376cba98e0c8570b5 (patch) | |
tree | 06696728fd65cdf38a2ac571943e130e9d60c333 /046check_type_by_name.cc | |
parent | b89b822439f47a490a1b764e14a1ed1b73059cba (diff) | |
download | mu-dd66068298b0a11f2a1f195376cba98e0c8570b5.tar.gz |
4261 - start using literals for 'true' and 'false'
They uncovered one bug: in edit/003-shortcuts.mu <scroll-down> was returning 0 for an address in one place where I thought it was returning 0 for a boolean. Now we've eliminated this bad interaction between tangling and punning literals.
Diffstat (limited to '046check_type_by_name.cc')
-rw-r--r-- | 046check_type_by_name.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/046check_type_by_name.cc b/046check_type_by_name.cc index df5a2a6d..786714b4 100644 --- a/046check_type_by_name.cc +++ b/046check_type_by_name.cc @@ -154,7 +154,7 @@ def foo [ # dummy def main [ local-scope 0:space/names:foo <- copy 0 # specify surrounding space - x:bool <- copy 1/true + x:bool <- copy true x:num/space:1 <- copy 34 x/space:1 <- copy 35 ] |