The @a_sync('async') decorator can be used to define an asynchronous function that can also be executed synchronously.
bug.chpl:2: error: unresolved call 'C.init()' bug.chpl:1: note: this candidate did not match: C.init(type t) bug.chpl:2: note: because call does not supply enough ...