Skip to content

openBinaryFile: permission denied when calling eval command on a function #162

@AionDev

Description

@AionDev

i have this function definition that i want to evaluate in atom text editor.

keepFirstXDecimals : Int -> Float -> Float
keepFirstXDecimals howMany nr =
    (nr * 10)
        |> floor
        |> toFloat
        |> flip (/) 10

keepFirstXDecimals 1 1.9923777

I go with the cursor on the line, and when i call the emjutsu eval command from the command pallete, nothing happens.
I tried few times in a row.
After a while i got this result:

keepFirstXDecimals 1 1.9923777
elm.exe: C:\me\projects\research-exchanges\elm-stuff\0.19.0\Elm_Repl.elmi: openBinaryFile: permission denied (Permission denied)
elm.exe: <<loop>>

But this only happened once, rest of the time nothing happens.
Any insight into what is causing this? I had this feature working just fine few months back.
I'm running elmjutsu 9.10.1, just updated it, restarted atom. The issue persists. Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions