Skip to content

Commit edbb5b8

Browse files
smasatomame
authored andcommitted
Fix typo in MatchPredicateNode class name
1 parent efca801 commit edbb5b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/typeprof/core/ast.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def self.create_node(raw_node, lenv, use_result = true)
226226
when :flip_flop_node then FlipFlopNode.new(raw_node, lenv)
227227
when :shareable_constant_node then create_node(raw_node.write, lenv)
228228
when :match_required_node then MatchRequiredNode.new(raw_node, lenv)
229-
when :match_predicate_node then MatchPreidcateNode.new(raw_node, lenv)
229+
when :match_predicate_node then MatchPredicateNode.new(raw_node, lenv)
230230

231231
# call
232232
when :super_node then SuperNode.new(raw_node, lenv)

lib/typeprof/core/ast/misc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def install0(genv)
242242
end
243243
end
244244

245-
class MatchPreidcateNode < Node
245+
class MatchPredicateNode < Node
246246
def initialize(raw_node, lenv)
247247
super(raw_node, lenv)
248248
@value = AST.create_node(raw_node.value, lenv)

0 commit comments

Comments
 (0)