verilog: formatting: tree_unwrapper.cc: Uncommented kPortList case This removes a comment and a TODO from InterChildNodeHook, where kPortList was commented out from triggering LookAheadBeyondCurrentNode, what caused an attemped invalid formatting triggering a CHECK fixes #1006 Signed-off-by: Jan Bylicki <jbylicki@antmicro.com>
diff --git a/verilog/formatting/tree_unwrapper.cc b/verilog/formatting/tree_unwrapper.cc index c71f9a5..ef49b64 100644 --- a/verilog/formatting/tree_unwrapper.cc +++ b/verilog/formatting/tree_unwrapper.cc
@@ -563,7 +563,7 @@ case NodeEnum::kPortDeclarationList: case NodeEnum::kActualParameterByNameList: case NodeEnum::kPortActualList: - // case NodeEnum::kPortList: // TODO(fangism): for task/function ports + case NodeEnum::kPortList: case NodeEnum::kModuleItemList: case NodeEnum::kGenerateItemList: case NodeEnum::kClassItems: