We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error class is not reserved in ruby, so it will be likely created and used.
Using Shorthand Error Syntax with or operator can lead to undefined classes.
Example:
class Error; end require "mustermann/sinatra"
mustermann-1.0.0/lib/mustermann/ast/translator.rb:98:in `class:Translator': uninitialized constant Mustermann::Error (NameError)
The text was updated successfully, but these errors were encountered:
avoid unintended conflict of namespace, fixes #64
d3c9531
@kaiserprogrammer Could you confirm #66?
Sorry, something went wrong.
It Works!
Merge pull request #66 from sinatra/fix-64
6f2a904
No branches or pull requests
Error class is not reserved in ruby, so it will be likely created and used.
Using Shorthand Error Syntax with or operator can lead to undefined classes.
Example:
mustermann-1.0.0/lib/mustermann/ast/translator.rb:98:in `class:Translator': uninitialized constant Mustermann::Error (NameError)
The text was updated successfully, but these errors were encountered: