-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
When we have a missing closing bracket i.e. [ but not ] dead_end detects it correct. Same with { and missing } etc. But when the first one is missing, dead_end doesn't know it and so it doesn't give us a label.
Here's an example:
$ cat scratch.rb
class Cat
def to_json
name: name,
fur_color: fur_color,
type: 'Cat',
better_than_dog: false }.to_json
end
end
⛄ 3.0.2 🚀 /private/tmp
$ dead_end ./scratch.rb
file: /private/tmp/scratch.rb
simplified:
1 class Cat
2 def to_json
❯ 3 name: name,
❯ 4 fur_color: fur_color,
❯ 5 type: 'Cat',
❯ 6 better_than_dog: false }.to_json
7 end
8 end
Expected
I expect a label/banner describing the issue as missing a {
Actual
There is no description at all.
Metadata
Metadata
Assignees
Labels
No labels