Observable casting bug

<App Theme="Basic">
    <JavaScript>
        var Observable = require('FuseJS/Observable');
        var obs = Observable(false);
        module.exports.obs = obs;
    </JavaScript>
    <StackPanel>
        <WhileTrue Value="{obs}">
            <DebugAction Message="WhileTrue: true" />
        </WhileTrue>
        <Button Text="{obs}" />
    </StackPanel>
</App>

Gives:

ERROR: Unable to convert False to bool
    System.Exception occured.
      at Fuse.Reactive.Marshal.ToBool (System.Object obj) [0x00000] in <filename unknown>:0 
      at Fuse.Reactive.Marshal.ToType[Boolean] (System.Object o, System.Action1 callback) [0x00000] in &lt;filename unknown&gt;:0 
      at Fuse.Reactive.DataBinding1[System.Boolean].PushValue (System.Object newValue) [0x00000] in <filename unknown>:0 
      at Fuse.Reactive.DataBinding1[System.Boolean].Fuse.Reactive.IObserver.OnSet (System.Object newValue) [0x00000] in &lt;filename unknown&gt;:0 
      at Fuse.Reactive.Dispatcher+ArgDispatch1[System.Object].Run () [0x00000] in <filename unknown>:0 
      at Fuse.Reactive.Dispatcher+UIThreadDispatcher.Run () [0x00000] in <filename unknown>:0 
      at Fuse.UpdateListener.Invoke () [0x00000] in <filename unknown>:0 
      at Fuse.UpdateManager.Update (Fuse.Stage stage) [0x00000] in <filename unknown>:0

$ fuse --version
Fuse version 0.9.5 (build 5424)
Copyright (C) 2015 Fusetools

Fuse Local Preview.

Thanks for the simple test case. On it!

Fixed. Will roll out soon :slight_smile: