Skip to content

"Typo" in enum Signal #67

@SunP04

Description

@SunP04

I'm kinda new to the language, sorry if I don't know what I'm talking about.

When trying to add sentry to my deps and building it, the compiler says about a typo at sentry.cr:191:30, refering to the enum Signal

The expected there would be :ill and not :kill, as the compiler itself suggests as a correction

Full error traceback:

Error target sentry failed to compile:
Showing last frame. Use --error-trace for full trace.

In lib\sentry\src\sentry.cr:191:30

 191 | app_process.signal(:kill)
                          ^
Error: expected argument #1 to 'Process#signal' to match a member of enum Signal.

Did you mean :ill?

Overloads are:
 - Process#signal(signal : Signal)

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