fix error when atomicArc shallowCopy is not defined#148
Conversation
|
@flyx please review |
|
Thanks for contributing! I think the more future-proof solution would be to just always use |
How about use when(compiles)? when compiles(shallowCopy(start, ctx.input.next())):
shallowCopy(start, ctx.input.next())
else:
start = ctx.input.next() |
|
Yeah, the |
sure, done. @flyx pls review |
|
Merged, thanks! Sorry for the delay. Since this prevents people from using the lib, I tagged release 2.2.1 to incorporate this fix. CI has problems with it but that's because GitHub did a booboo; I ensured locally that it works on macOS. |
|
awesome. thx |
when compile with
mm:atomicArc, will get error : 'shallowCopy is not defined'.