diff --git a/build.fsx b/build.fsx index 4d45570d..08c066ad 100644 --- a/build.fsx +++ b/build.fsx @@ -265,7 +265,8 @@ Target.create "RunMainTestsRelease" <| fun _ -> "RunMainTestsRelease" ==> "CI-Release" - + +"Prepare" ==> "WS-Restore" "WS-Stop" ==> "WS-Clean" "WS-Stop" ==> "WS-Restore" diff --git a/src/compiler/WebSharper.Core/Macros.fs b/src/compiler/WebSharper.Core/Macros.fs index 1fdfa75d..cf664eba 100644 --- a/src/compiler/WebSharper.Core/Macros.fs +++ b/src/compiler/WebSharper.Core/Macros.fs @@ -245,7 +245,7 @@ let tryFindMethodFromComparison (cI: Metadata.IClassInfo option) (t: Type) (cmp: Hashed mi match cI with | Some cI -> - let defMethod = additionalMethods cmp |> methodInfoFromStr + let defMethod = defMethods cmp |> methodInfoFromStr match cI.Methods.TryGetValue(defMethod) with | true, mem -> Some defMethod | false, _ ->