we need something better than warningAsError for effect handling viol… (#18796)

* we need something better than warningAsError for effect handling violations
This commit is contained in:
Andreas Rumpf 2021-09-04 08:18:00 +02:00 • committed by GitHub
commit ac7acd827c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -2004,8 +2004,7 @@ elif hasAlloc:
inc(i)
{.pop.}
proc echo*(x: varargs[typed, `$`]) {.magic: "Echo", tags: [WriteIOEffect],
benign, sideEffect.}
proc echo*(x: varargs[typed, `$`]) {.magic: "Echo", benign, sideEffect.}
## Writes and flushes the parameters to the standard output.
##
## Special built-in that takes a variable number of arguments. Each argument