active-logic / activelogic-cs

Behavior Trees and Case Logic for C#7
GNU Affero General Public License v3.0
106 stars 7 forks source link

With certainties, implicit conversion may break logging #89

Closed eelstork closed 2 years ago

eelstork commented 2 years ago

Observed:

var someTask = loop.cont();
status s = someTask;
return s[log && "explain this"];  // fails at runtime

Caused by implicit conversion stripping logging data from the status object; builds/optimized mode not affected. Affected types: action, failure, loop Fixed, ready to merge.