Skip to content

Commit

Permalink
Release 4.0.0-theta-015
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed Nov 5, 2022
1 parent 12fe10e commit cc73e5c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
11 changes: 5 additions & 6 deletions src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>4.0.0</Version>
<PackageVersion>4.0.0-theta-014</PackageVersion>
<PackageReleaseNotes>* 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</PackageReleaseNotes>
<PackageVersion>4.0.0-theta-015</PackageVersion>
<PackageReleaseNotes>* JS, enable calls with `importValueDynamic`
* JS, Support System.Delegate.DynamicInvoke
* Rust, Added feature for func_type_enum
* Rust, Added Func type wrappers (#3250)</PackageReleaseNotes>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
<RollForward>Major</RollForward>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
7 changes: 7 additions & 0 deletions src/Fable.Cli/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 0 additions & 3 deletions src/Fable.Transforms/FSharp2Fable.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Transforms/Global/Compiler.fs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Fable

module Literals =
let [<Literal>] VERSION = "4.0.0-theta-014"
let [<Literal>] VERSION = "4.0.0-theta-015"

type CompilerOptionsHelper =
static member Make(?language,
Expand Down
1 change: 1 addition & 0 deletions src/fable-standalone/src/Fable.Standalone.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<DefineConstants>$(DefineConstants);FABLE_COMPILER</DefineConstants>
<OtherFlags>$(OtherFlags) --nowarn:3536 --nowarn:1182</OtherFlags>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit cc73e5c

Please sign in to comment.