Skip to content

Refactor ternary expressions to plain get#662

Merged
davidanthoff merged 4 commits into
julia-vscode:masterfrom
non-Jedi:haskey-pattern
May 6, 2020
Merged

Refactor ternary expressions to plain get#662
davidanthoff merged 4 commits into
julia-vscode:masterfrom
non-Jedi:haskey-pattern

Conversation

@non-Jedi

@non-Jedi non-Jedi commented May 5, 2020

Copy link
Copy Markdown
Member

This saves a dictionary lookup and is easier to read. This also may
make debugging #600 easier since there was a bug where
response["error"]["data"] was getting thrown away and
response["error"]["code"] used instead.

This saves a dictionary lookup and is easier to read. This also may
make debugging julia-vscode#600 easier since there was a bug I fixed where
response["error"]["data"] was getting thrown away and
response["error"]["code"] used instead.

@davidanthoff davidanthoff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge once CI has passed.

@davidanthoff
davidanthoff merged commit 243b686 into julia-vscode:master May 6, 2020
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

Successfully merging this pull request may close these issues.

3 participants