Skip to content

Commit

Permalink
#1314, Ensure Prepare build step happens prior WS-Restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooseppi12 committed Jan 13, 2023
1 parent b3b8c9b commit 61aa305
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ Target.create "RunMainTestsRelease" <| fun _ ->

"RunMainTestsRelease"
==> "CI-Release"


"Prepare" ==> "WS-Restore"
"WS-Stop" ==> "WS-Clean"
"WS-Stop" ==> "WS-Restore"

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/WebSharper.Core/Macros.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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, _ ->
Expand Down

0 comments on commit 61aa305

Please sign in to comment.