Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed Oct 4, 2022
1 parent ae57f9c commit d008bf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Fable.Transforms/Replacements.Util.fs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ let (|MaybeInScope|) (ctx: Context) e =
match e with
| MaybeCasted(IdentExpr ident) when not ident.IsMutable ->
match tryFindInScope ctx ident.Name with
| Some e -> e
| Some(MaybeCasted e) -> e
| None -> e
| e -> e

Expand All @@ -495,6 +495,7 @@ let rec (|MaybeInScopeStringConst|_|) ctx = function
|> Option.map (fun values ->
let valuesAndParts = List.zip (List.rev values) parts
(start, valuesAndParts) ||> List.fold (fun acc (v, p) -> acc + v + p))
| _ -> None

let rec (|RequireStringConst|) com (ctx: Context) r e =
match e with
Expand Down

0 comments on commit d008bf8

Please sign in to comment.