You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
editor.rb:11: Missing definition for abstract method `Parent#want?` https://srb.help/5023
11 |class Child < Parent
^^^^^^^^^^^^^^^^^^^^
editor.rb:8: want? defined here
8 | def want?; end
^^^^^^^^^
Autocorrect: Use -a to autocorrect
editor.rb:13: Insert sig { override.returns(T::Boolean) }
def want?; end
13 |end
^
Errors: 1
Expected behavior
Sorbet has special handling for the string
`{}`
inside a setHeader line. If it sees this sequence, it will only wrap the interpolated text in backticks if colorized errors have been disabled. If colorized errors are enabled, it will print in cyan.
Doing the interpolation manually gets in the way of this `{}` trick.
The text was updated successfully, but these errors were encountered:
Input
→ View on sorbet.run
Observed output
Expected behavior
Sorbet has special handling for the string
inside a
setHeader
line. If it sees this sequence, it will only wrap the interpolated text in backticks if colorized errors have been disabled. If colorized errors are enabled, it will print in cyan.Doing the interpolation manually gets in the way of this
`{}`
trick.The text was updated successfully, but these errors were encountered: