diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 11:45:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 11:45:55 +0200 |
commit | 12fc75188cc1f0a8c4c443c04e7a022131198c36 (patch) | |
tree | 63ba0d83bb5498ee60af803d69e8514a03b4878e /tests/expansion | |
parent | be14801929cf2a6caced87df034ae12a85f42aa6 (diff) |
Allow implicit (lexical) typed-to-typed conversion
Diffstat (limited to 'tests/expansion')
-rw-r--r-- | tests/expansion/type.test | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/expansion/type.test b/tests/expansion/type.test index d524eea..27c646d 100644 --- a/tests/expansion/type.test +++ b/tests/expansion/type.test @@ -36,14 +36,11 @@ y = "$x" assert ($type($y) == "") EOI -: type-conflict +: retypify : -$* <'print [bool] ([string] true)' 2>>EOE != 0 -<stdin>:1:7: error: conflicting attribute type bool and value type string - info: use quoting to untypify the value -EOE +$* <'print [bool] ([string] true)' >'true' -: retypify +: retypify-quote : $* <'print [bool] "([string] true)"' >'true' |