Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Typo" in enum Signal #67

Open
SunP04 opened this issue Jul 24, 2024 · 1 comment
Open

"Typo" in enum Signal #67

SunP04 opened this issue Jul 24, 2024 · 1 comment

Comments

@SunP04
Copy link

SunP04 commented Jul 24, 2024

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)
@zw963
Copy link

zw963 commented Dec 5, 2024

can't reproduce in my fork.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants