fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

Fuse.Reactive.Expressions: fix run-time warnings with LogicalNot #1312

Closed mortend closed 5 years ago

mortend commented 5 years ago

Pass Flags.None to disable the following run-time warnings:

Warning: This constructor and use of the Is*Optional virtuals is deprecated. Pass the optionals as flags to the constructor, or specifiy Flags.None to avoid the message
Warning: Overiding the UnaryOperator.OnNewOperand/OnLostData is deprecated. Implement `Compute` and call the other constructor, or pass Flags.None, or implement an `Expression` and `ExpressionListener` if you need the behavior (rare).

The other Negate operator found in this file already passes Flags.None, so I believe this was just forgotten about for LogicalNot.

This PR contains: