Skip to content

Commit

Permalink
merge object patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoarrais committed Apr 29, 2019
1 parent 4811f08 commit ecbb465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -3,8 +3,7 @@ import maybeOptimizePipelineSequence from "./maybeOptimizePipelineSequence";

const fsharpVisitor = {
BinaryExpression(path) {
const { scope } = path;
const { node } = path;
const { scope, node } = path;
const { operator, left, right } = node;
if (operator !== "|>") return;

Expand Down
Expand Up @@ -3,8 +3,7 @@ import maybeOptimizePipelineSequence from "./maybeOptimizePipelineSequence";

const minimalVisitor = {
BinaryExpression(path) {
const { scope } = path;
const { node } = path;
const { scope, node } = path;
const { operator, left, right } = node;
if (operator !== "|>") return;

Expand Down

0 comments on commit ecbb465

Please sign in to comment.