diff options
author | Eduardo Julian | 2018-07-30 22:27:36 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-30 22:27:36 -0400 |
commit | 76b47564f89bac5eb6604da7bbb94aabb83d6d84 (patch) | |
tree | b92b2f3a215a025074afe8797fec6f3dfafc5080 /stdlib/source | |
parent | c3cdaad1d13f38ec926e7113ae95a25611a04053 (diff) |
Updating new-luxc to latest Lux changes [Part 2].
Diffstat (limited to 'stdlib/source')
-rw-r--r-- | stdlib/source/lux/compiler/default/phase/synthesis/case.lux | 2 | ||||
-rw-r--r-- | stdlib/source/lux/compiler/default/phase/translation/scheme/case.jvm.lux | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/compiler/default/phase/synthesis/case.lux b/stdlib/source/lux/compiler/default/phase/synthesis/case.lux index eaa7621f6..3e59637a8 100644 --- a/stdlib/source/lux/compiler/default/phase/synthesis/case.lux +++ b/stdlib/source/lux/compiler/default/phase/synthesis/case.lux @@ -103,7 +103,7 @@ rightP <default>)) ([#//.Bit bit/=] - [#//.I64 (:coerce (Equivalence I64) i/=)] + [#//.I64 "lux i64 ="] [#//.F64 frac/=] [#//.Text text/=]) diff --git a/stdlib/source/lux/compiler/default/phase/translation/scheme/case.jvm.lux b/stdlib/source/lux/compiler/default/phase/translation/scheme/case.jvm.lux index 5ab0c56dd..1d9415a99 100644 --- a/stdlib/source/lux/compiler/default/phase/translation/scheme/case.jvm.lux +++ b/stdlib/source/lux/compiler/default/phase/translation/scheme/case.jvm.lux @@ -121,10 +121,10 @@ (^ (<tag> value)) (operation/wrap (_.when (|> value <format> (<=> cursor-top) _.not/1) fail-pm!))) - ([synthesis.path/bit _.bool _.eqv?/2] - [synthesis.path/i64 _.int _.=/2] - [synthesis.path/f64 _.float _.=/2] - [synthesis.path/text _.string _.eqv?/2]) + ([synthesis.path/bit _.bool _.eqv?/2] + [synthesis.path/i64 (<| _.int .int) _.=/2] + [synthesis.path/f64 _.float _.=/2] + [synthesis.path/text _.string _.eqv?/2]) (^template [<pm> <flag> <prep>] (^ (<pm> idx)) |