samueleaton / sentry

Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes
MIT License
286 stars 27 forks source link

"Typo" in enum Signal #67

Open SunP04 opened 3 months ago

SunP04 commented 3 months ago

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)