Skip to content

Commit

Permalink
Release 4.0.0-snake-island-alpha-022
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed Aug 30, 2022
1 parent 8dc177b commit bb96448
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 13 deletions.
22 changes: 14 additions & 8 deletions src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<Version>4.0.0</Version>
<PackageVersion>4.0.0-snake-island-alpha-021</PackageVersion>
<PackageReleaseNotes>* Rust, fixed curried apply, @ncave
* Python, allow modules with uppercase letters, @dbrattli
* Rust, added Math.DivRem support, @ncave
* Rust, retain inlined funcs with CompiledName attr, @ncave
* Python, fixes for extreme math values, @dbrattli
* Rust, union fix for import prefixes, @alexswan10k
* Rust, fixed build dependency for wasm32, @ncave</PackageReleaseNotes>
<PackageVersion>4.0.0-snake-island-alpha-022</PackageVersion>
<PackageReleaseNotes>* Update F# compiler
* Make Fable 4 compatible with Feliz plugins
* Rust, Fixed inner attributes (#3121)
* Rust, Output crate attributes only on last file (#3119)
* Rust, Added collection wrappers (#3118)
* Rust, fix byref nested context not correctly propagating (#3103)
* Rust, Fixed passing fields by ref (#3116)
* Rust, Fixed struct record copy (#3114)
* Rust, Output string type (#3113)
* Python, type var cleanup. Use Any for types starting with $$ (#3100)
* Rust, Fixed string format without args
* Rust, Fixed closure ident cloning (#3106)
* Rust, Fixed static, member and interface imports (#3105)</PackageReleaseNotes>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
<RollForward>Major</RollForward>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
16 changes: 16 additions & 0 deletions src/Fable.Cli/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### 4.0.0-snake-island-alpha-022

* Update F# compiler
* Make Fable 4 compatible with Feliz plugins
* Rust, Fixed inner attributes (#3121)
* Rust, Output crate attributes only on last file (#3119)
* Rust, Added collection wrappers (#3118)
* Rust, fix byref nested context not correctly propagating (#3103)
* Rust, Fixed passing fields by ref (#3116)
* Rust, Fixed struct record copy (#3114)
* Rust, Output string type (#3113)
* Python, type var cleanup. Use Any for types starting with $$ (#3100)
* Rust, Fixed string format without args
* Rust, Fixed closure ident cloning (#3106)
* Rust, Fixed static, member and interface imports (#3105)

### 4.0.0-snake-island-alpha-021

* Rust, fixed curried apply, @ncave
Expand Down
7 changes: 3 additions & 4 deletions src/Fable.Transforms/FSharp2Fable.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1668,10 +1668,9 @@ let resolveInlineExpr (com: IFableCompiler) ctx info expr =
// If it happens we're importing a member in the current file
// use IdentExpr instead of Import
let isImportToSameFile =
info.FileName = com.CurrentFile && (
let dirName, info = Path.GetDirectoryAndFileNames(importInfo.Path)
dirName = "." && info = Path.GetFileName(com.CurrentFile)
)
Path.Combine(Path.GetDirectoryName(info.FileName), importInfo.Path)
|> Path.normalizeFullPath
|> (=) com.CurrentFile
if isImportToSameFile then
Fable.IdentExpr { makeTypedIdent t importInfo.Selector with Range = r }
else
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-snake-island-alpha-021"
let [<Literal>] VERSION = "4.0.0-snake-island-alpha-022"

type CompilerOptionsHelper =
static member Make(?language,
Expand Down

0 comments on commit bb96448

Please sign in to comment.