rssh/dotty-cps-async

implement shifted by-name argument calls

rssh opened this issue · 1 comments

rssh commented

By-name async argument should be fixed, i.e.

o.getOrElse( await defaultValue)

should be transformed to

summon[AsyncShift[o.tpe]](o,monad)(()=>defaultValue)

not to

defaultValue.map(v => o.getOrElse(v))
rssh commented

implemented