More fixes to table output

This commit is contained in:
Pieter Vander Vennet 2020-05-03 00:33:55 +02:00
parent 4d332f1f48
commit d2f6c458fc

View file

@ -65,7 +65,7 @@ namespace AspectedRouting.IO
private static string ArgTableHorizontal(this Function f)
{
var header = string.Join(" | ", f.ArgNames) + " | returns |";
var headerLine = string.Join(" | ", f.ArgNames.Select(_ => "---")) + " |";
var headerLine = string.Join(" | ", f.ArgNames.Select(_ => "---")) + " | --- |";
var types =
string.Join("\n",