an owned ref parameter behaves as a 'sink' parameter

This commit is contained in:
Andreas Rumpf 2019-04-07 23:11:37 +02:00
commit b2898cd254
3 changed files with 11 additions and 11 deletions

View file

@ -13,10 +13,7 @@
# included from sempass2.nim
# Todo:
# - specialize destructors for constant arrays of strings
# (they don't require any)
# - use openArray instead of array to avoid over-specializations
# - make 'owned' mean 'sink' in parameters
import sighashes