File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3791,10 +3791,6 @@ namespace Microsoft.FSharp.Core
37913791 [<CompiledName( " FailurePattern" ) >]
37923792 let (| Failure | _ |) ( error : exn ) = if error.GetType() .Equals( typeof< System.Exception>) then Some error.Message else None
37933793
3794- [<CompiledName( " Not" ) >]
3795- let inline not ( value : bool ) = ( # " ceq" value false : bool #)
3796-
3797-
37983794 let inline (<) x y = GenericLessThan x y
37993795 let inline (>) x y = GenericGreaterThan x y
38003796 let inline (>= ) x y = GenericGreaterOrEqual x y
@@ -4743,6 +4739,9 @@ namespace Microsoft.FSharp.Core
47434739 [< CompiledName( " Identity" )>]
47444740 let id x = x
47454741
4742+ [< CompiledName( " Not" )>]
4743+ let inline not ( value : bool ) = match value with true -> false | _ -> true
4744+
47464745 // std* are TypeFunctions with the effect of reading the property on instantiation.
47474746 // So, direct uses of stdout should capture the current System.Console.Out at that point.
47484747 [< CompiledName( " ConsoleIn" )>]
You can’t perform that action at this time.
0 commit comments