mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
272b93e595
* Closes #2154 * Evaluates closed applications with value arguments when the result type is zero-order. For example, `3 + 4` is evaluated to `7`, and `id 3` is evaluated to `3`, but `id id` is not evaluated because the target type is not zero-order (it's a function type).
9 lines
249 B
Haskell
9 lines
249 B
Haskell
module Compilation where
|
|
|
|
import Base
|
|
import Compilation.Negative qualified as N
|
|
import Compilation.Positive qualified as P
|
|
|
|
allTests :: TestTree
|
|
allTests = testGroup "Juvix compilation pipeline tests" [P.allTestsNoOptimize, P.allTests, N.allTests]
|