sentry icon indicating copy to clipboard operation
sentry copied to clipboard

"Typo" in enum Signal

Open SunP04 opened this issue 2 years ago • 1 comments

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)

SunP04 avatar Jul 24 '24 22:07 SunP04

can't reproduce in my fork.

https://github.com/crystal-china/sentry

zw963 avatar Dec 05 '24 09:12 zw963