From dacd4bbbcc8c3e09c695b3e5bdcfe62c177f450b Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Fri, 18 Aug 2023 21:35:30 +0200 Subject: [PATCH] Patch to support Fable compiled with Fable --- src/Fable.Transforms/State.fs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Fable.Transforms/State.fs b/src/Fable.Transforms/State.fs index 5c2e0ec7fd..4f34666930 100644 --- a/src/Fable.Transforms/State.fs +++ b/src/Fable.Transforms/State.fs @@ -48,9 +48,13 @@ type Assemblies(getPlugin, fsharpAssemblies: FSharpAssembly list) = ] |> String.concat "\n" + #if FABLE_COMPILER + eprintfn "%s" errorMessage + #else Console.ForegroundColor <- ConsoleColor.DarkRed Console.Error.WriteLine(errorMessage) Console.ResetColor() + #endif raise ex assemblies.Add(path, asm)