diff options
author | Eduardo Julian | 2018-07-13 22:01:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-13 22:01:32 -0400 |
commit | 69fefab57c40f323d759dc444dbcebad15071585 (patch) | |
tree | db08a3ea37c7818c8a98fc995d3c19440141b700 /new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux | |
parent | 6acf4ffc362c0f8ef77d96f8cfe991adb2d9a0eb (diff) |
Re-named "Bool" type to "Bit".
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux b/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux index 9840bba1f..8adfd22bf 100644 --- a/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/js/runtime.jvm.lux @@ -14,7 +14,7 @@ (def: #export unit Expression (%t //.unit)) (def: (flag value) - (-> Bool JS) + (-> Bit JS) (if value (%t "") "null")) @@ -26,7 +26,7 @@ [//.variant-value-field value]))) (def: #export (variant tag last? value) - (-> Nat Bool Expression Expression) + (-> Nat Bit Expression Expression) (variant' (%i (.int tag)) (flag last?) value)) (def: none |