Skip to content

Move private functions to -Internal module - #397

Open
Linschlager wants to merge 2 commits into
Zaid-Ajaj:masterfrom
Linschlager:fix-private-function-references-pr
Open

Linschlager wants to merge 2 commits into
Zaid-Ajaj:masterfrom
Linschlager:fix-private-function-references-pr

Conversation

@Linschlager

@Linschlager Linschlager commented Aug 25, 2026 •

Copy link
Copy Markdown

On the Write.Fable module, some of the inlined functions are private. This is not per se an issue, as the function call is also scoped to the module which makes it valid.
However, the Fable compiler fails as it is more strict in that regard.

This is solved by making the relevant functions public on a different module. This way, the implementation is still not as visible and polluting the global namespace but it makes fable happy as the inline functions are not private anymore.

Also: Bumped fable to version 5.5 to show that it works on that version now.
This currently causes other issues because of the open PR here

Resolves #396

@Linschlager
Linschlager force-pushed the fix-private-function-references-pr branch from 7fa9f0d to 7f56e3b Compare August 25, 2026 09:48
@Linschlager Linschlager changed the title Move private functions to private -Internal module Move private functions to -Internal module Aug 25, 2026
@Linschlager
Linschlager force-pushed the fix-private-function-references-pr branch from 92d47d5 to 23bafe5 Compare August 25, 2026 13:42
@Linschlager
Linschlager force-pushed the fix-private-function-references-pr branch from 23bafe5 to 6d125ae Compare August 25, 2026 14:00

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fable Compiler errors on version >= 5.5.0

1 participant