Ruby
Incorrect context for jump statement
Warning
New
Last modified: 03 December 2024 Reports the incorrect use of control flow jump statements, such as return
, retry
, redo
, break
, and continue
.
Example:
i = 1
while true
if i * 6 >= 30
retry
end
puts i * 6
i += 1
end
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
RubyJumpError
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Ruby, 243.23135 |
Thanks for your feedback!
Was this page helpful?