introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145)
* introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green
This commit is contained in:
parent
c94ab46923
commit
e1515b53d1
9 changed files with 69 additions and 46 deletions
|
|
@ -177,13 +177,13 @@ proc addOutputFormatter*(formatter: OutputFormatter) =
|
|||
formatters.add(formatter)
|
||||
|
||||
proc newConsoleOutputFormatter*(outputLevel: OutputLevel = PRINT_ALL,
|
||||
colorOutput = true): ConsoleOutputFormatter =
|
||||
colorOutput = true): <//>ConsoleOutputFormatter =
|
||||
ConsoleOutputFormatter(
|
||||
outputLevel: outputLevel,
|
||||
colorOutput: colorOutput
|
||||
)
|
||||
|
||||
proc defaultConsoleFormatter*(): ConsoleOutputFormatter =
|
||||
proc defaultConsoleFormatter*(): <//>ConsoleOutputFormatter =
|
||||
when declared(stdout):
|
||||
# Reading settings
|
||||
# On a terminal this branch is executed
|
||||
|
|
@ -263,7 +263,7 @@ proc xmlEscape(s: string): string =
|
|||
else:
|
||||
result.add(c)
|
||||
|
||||
proc newJUnitOutputFormatter*(stream: Stream): JUnitOutputFormatter =
|
||||
proc newJUnitOutputFormatter*(stream: Stream): <//>JUnitOutputFormatter =
|
||||
## Creates a formatter that writes report to the specified stream in
|
||||
## JUnit format.
|
||||
## The ``stream`` is NOT closed automatically when the test are finished,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue