Skip to content
Draft
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 parser/prism/Translator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ unique_ptr<parser::Node> Translator::translateSendAssignment(pm_node_t *node, co
move(lhs));
}

unique_ptr<parser::Node> Translator::translate(pm_node_t *node, bool preserveConcreteSyntax) {
unique_ptr<parser::Node> Translator::translate(pm_node_t *node) {
if (node == nullptr)
return nullptr;

Expand Down
2 changes: 1 addition & 1 deletion parser/prism/Translator.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Translator final {
desugarUniqueCounter(this->desugarUniqueCounterStorage) {}

// Translates the given AST from Prism's node types into the equivalent AST in Sorbet's legacy parser node types.
std::unique_ptr<parser::Node> translate(pm_node_t *node, bool preserveConcreteSyntax = false);
std::unique_ptr<parser::Node> translate(pm_node_t *node);

private:
// This private constructor is used for creating child translators with modified context.
Expand Down
Loading