From cc73e5cd33eaf4229b4e6e4cc43d2164e2965f57 Mon Sep 17 00:00:00 2001 From: Alfonso Garcia-Caro Date: Sat, 5 Nov 2022 21:25:40 +0900 Subject: [PATCH] Release 4.0.0-theta-015 --- src/Fable.Cli/Fable.Cli.fsproj | 11 +++++------ src/Fable.Cli/RELEASE_NOTES.md | 7 +++++++ src/Fable.Transforms/FSharp2Fable.fs | 3 --- src/Fable.Transforms/Global/Compiler.fs | 2 +- src/fable-standalone/src/Fable.Standalone.fsproj | 1 + 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/Fable.Cli/Fable.Cli.fsproj b/src/Fable.Cli/Fable.Cli.fsproj index a260ea84fb..b335bb23d4 100644 --- a/src/Fable.Cli/Fable.Cli.fsproj +++ b/src/Fable.Cli/Fable.Cli.fsproj @@ -5,12 +5,11 @@ Exe net6.0 4.0.0 - 4.0.0-theta-014 - * Try to fix #3244 (cannot parse .fsproj) -* Rust, added small string type -* Python, fix byte array tying issue -* JS, don't mangle idents from imports in emitted code -* JS, optimize some array transforms + 4.0.0-theta-015 + * JS, enable calls with `importValueDynamic` +* JS, Support System.Delegate.DynamicInvoke +* Rust, Added feature for func_type_enum +* Rust, Added Func type wrappers (#3250) Major false diff --git a/src/Fable.Cli/RELEASE_NOTES.md b/src/Fable.Cli/RELEASE_NOTES.md index 2e80f7d16e..6479906999 100644 --- a/src/Fable.Cli/RELEASE_NOTES.md +++ b/src/Fable.Cli/RELEASE_NOTES.md @@ -1,3 +1,10 @@ +### 4.0.0-theta-015 + +* JS, enable calls with `importValueDynamic` +* JS, Support System.Delegate.DynamicInvoke +* Rust, Added feature for func_type_enum +* Rust, Added Func type wrappers (#3250) + ### 4.0.0-theta-014 * Try to fix #3244 (cannot parse .fsproj) diff --git a/src/Fable.Transforms/FSharp2Fable.fs b/src/Fable.Transforms/FSharp2Fable.fs index 7b54645c50..5ae298c376 100644 --- a/src/Fable.Transforms/FSharp2Fable.fs +++ b/src/Fable.Transforms/FSharp2Fable.fs @@ -1840,9 +1840,6 @@ type FableCompiler(com: Compiler) = // Some patterns depend on inlined arguments being captured by "magic" Fable.Core functions like // importValueDynamic. If the value can have side effects, it won't be removed by beta binding // reduction, so we try to eliminate it here. - // match com.Options.Language with - // | Rust -> bindings, resolved - // | _ -> bindings |> List.filter (fun (i, v) -> if ctx.CapturedBindings.Contains(i.Name) && canHaveSideEffects v then if isIdentUsed i.Name resolved then diff --git a/src/Fable.Transforms/Global/Compiler.fs b/src/Fable.Transforms/Global/Compiler.fs index a8c6e8e4cc..b8e0245387 100644 --- a/src/Fable.Transforms/Global/Compiler.fs +++ b/src/Fable.Transforms/Global/Compiler.fs @@ -1,7 +1,7 @@ namespace Fable module Literals = - let [] VERSION = "4.0.0-theta-014" + let [] VERSION = "4.0.0-theta-015" type CompilerOptionsHelper = static member Make(?language, diff --git a/src/fable-standalone/src/Fable.Standalone.fsproj b/src/fable-standalone/src/Fable.Standalone.fsproj index b98acdd7a6..ed89a8ebe0 100644 --- a/src/fable-standalone/src/Fable.Standalone.fsproj +++ b/src/fable-standalone/src/Fable.Standalone.fsproj @@ -3,6 +3,7 @@ netstandard2.0 $(DefineConstants);FABLE_COMPILER + $(OtherFlags) --nowarn:3536 --nowarn:1182