Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/typeprof/core/ast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def self.create_node(raw_node, lenv, use_result = true)
when :flip_flop_node then FlipFlopNode.new(raw_node, lenv)
when :shareable_constant_node then create_node(raw_node.write, lenv)
when :match_required_node then MatchRequiredNode.new(raw_node, lenv)
when :match_predicate_node then MatchPreidcateNode.new(raw_node, lenv)
when :match_predicate_node then MatchPredicateNode.new(raw_node, lenv)

# call
when :super_node then SuperNode.new(raw_node, lenv)
Expand Down
2 changes: 1 addition & 1 deletion lib/typeprof/core/ast/misc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def install0(genv)
end
end

class MatchPreidcateNode < Node
class MatchPredicateNode < Node
def initialize(raw_node, lenv)
super(raw_node, lenv)
@value = AST.create_node(raw_node.value, lenv)
Expand Down