Currently clients are allowed to modify vars marked as condSend(false) without any error:
if( t.condSend.expr.match(EConst(CIdent("false"))) )
return macro {}; // no marking
var condSend = loop(t.condSend);
needRef = true;
mark = macro if( $condSend ) { this.$rname = this.$fname; $mark; };
We discussed removing the "no marking" optimization and adding a checkWrite() call in the else case so all failing condSend() are properly tested on clients.
Currently clients are allowed to modify vars marked as condSend(false) without any error:
We discussed removing the "no marking" optimization and adding a
checkWrite()
call in theelse
case so all failing condSend() are properly tested on clients.