Closed crusso closed 15 hours ago
Comparing from 5e11c5de222f9102faa89bb7ccf19060cb32ee60 to a43782e35968f1b69feaf36b48958a74d217d090: The produced WebAssembly code seems to be completely unchanged.
Wanna have some SQL feeling? actor Counter stable
➡ actor Counter with stable var
😜
closing in favour of #4779
Investigate with prefixing body of actor or actor class with optional, default stability modifier, supporting the opt-in inversion from flexible to stable, without changing the semantics of existing code.
(Prefixing the
actor
keyword introduces hundreds of shift/reduce conflicts, so I tried this instead. Perhaps the conflicts can be avoid by some grammar refactoring...)Note: we only allow the stable modifier on simple let patterns bind a single identier and (all) mutable variables, so care must be taken not to default to stable in other cases...
and
Not sure I'm loving it, tbh.