Skip to content

Commit

Permalink
Fix import of camelCased class (#3811)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrattli committed Apr 23, 2024
1 parent 234e912 commit e8c35aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Fable.Cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

* [Python] Fixes for custom hash values (#3796) (by @dbrattli)
* [Python] Fix for import of camelCased class (#3808) (by @dbrattli)
* [JS/TS] Fixed optional args for reflection (by @ncave)
* [JS/TS] Fixed type visibility when parent is namespace (by @ncave)
* [JS/TS] Fixed DateTimeOffset.ToString with custom format (by @ncave)
Expand Down
5 changes: 1 addition & 4 deletions src/Fable.Transforms/Python/Fable2Python.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3680,11 +3680,8 @@ module Util =
)
|> Helpers.unzipArgs

// printfn "infterfaces: %A" interfaces

let bases = baseExpr |> Option.toList

let name = com.GetIdentifier(ctx, entName)
let name = com.GetIdentifier(ctx, Naming.toSnakeCase entName)

stmts
@ [
Expand Down

0 comments on commit e8c35aa

Please sign in to comment.