You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Elm frontend currently interprets negative literals as a function call to the negate function with the literal number as an argument.
{-| the line below produces an IR that looks like foo = negate 2-}foo:Intfoo =-2
To Reproduce
Steps to reproduce the behavior:
Create a Morphir Elm project
in one of the modules, add the example above
run morphir-elm make
run the develop tool and use the X-Ray view to inspect the IR for the function.
Expected behavior
Expects a negative literal to be created.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Elm frontend currently interprets negative literals as a function call to the
negate
function with the literal number as an argument.To Reproduce
Steps to reproduce the behavior:
morphir-elm make
Expected behavior
Expects a negative literal to be created.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: