Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ba93f7a

Browse files
eileencodeskddnewton
authored andcommitted
reduce group
1 parent 6face31 commit ba93f7a

File tree

2 files changed

+1025
-2
lines changed

2 files changed

+1025
-2
lines changed

lib/syntax_tree/prism.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "prettier_print"
3+
require_relative "prism/prettier_print"
44
require "prism"
55

66
module Prism
@@ -2996,7 +2996,7 @@ def visit_yield_node(node)
29962996
# up expensive computation time.
29972997
def group
29982998
contents = []
2999-
doc = Group.new(0, contents: contents)
2999+
doc = Group.new(contents: contents)
30003000

30013001
groups << doc
30023002
target << doc

0 commit comments

Comments
 (0)