Skip to content

Disable CheckInlineValueIsComplete for Fable - #10

Merged
ncave merged 1 commit into
ncave:service_slimfrom
alfonsogarciacaro:service_slim_disable_check_inline
Jun 8, 2022
Merged

Disable CheckInlineValueIsComplete for Fable#10
ncave merged 1 commit into
ncave:service_slimfrom
alfonsogarciacaro:service_slim_disable_check_inline

Conversation

@alfonsogarciacaro

Copy link
Copy Markdown

Not entirely sure about this so I'm opening the PR for discussion. It happens that many Fable-compatible libraries include code under FABLE_COMPILER that inline functions accessing internal values in order to resolve generics. This code gives no errors when compiling everything as a single project as Fable normally does, but id does fail when generating a .dll assembly. I've noticed that by disabling the CheckInlineValueIsComplete in Optimizer.fs the error disappears. So I thought we could remove it when compiling FCS for Fable. I chose FABLE_CLI because this is not meant to be compiled to JS.

What do you think @ncave?

@alfonsogarciacaro
alfonsogarciacaro changed the base branch from main to service_slimJanuary 11, 2022 13:23
@ncave

Copy link
Copy Markdown
Owner

@alfonsogarciacaro Sure, whatever works. It's nice that you found a work-around.

@alfonsogarciacaro

Copy link
Copy Markdown
Author

@ncave Would it be possible to merge this? Unfortunately one of my projects depend on this and I'm afraid the change my be lost when we resync service_slim and use it to update Fable.

@ncave
ncave merged this pull request into ncave:service_slimJun 8, 2022
@alfonsogarciacaro

Copy link
Copy Markdown
Author

Thank you!

@ncave

ncave commented Jun 8, 2022

Copy link
Copy Markdown
Owner

@alfonsogarciacaro Sure thing, Alfonso, for you - anytime :)

ncave pushed a commit that referenced this pull request Jul 3, 2022
ncave pushed a commit that referenced this pull request Aug 26, 2022
ncave pushed a commit that referenced this pull request Nov 14, 2022
ncave pushed a commit that referenced this pull request Nov 30, 2022
ncave pushed a commit that referenced this pull request Feb 24, 2023
ncave pushed a commit that referenced this pull request Apr 15, 2023
ncave pushed a commit that referenced this pull request Oct 23, 2023
ncave pushed a commit that referenced this pull request Dec 8, 2023
ncave pushed a commit that referenced this pull request Nov 16, 2024
ncave pushed a commit that referenced this pull request Jan 15, 2025
ncave pushed a commit that referenced this pull request Oct 14, 2025
ncave pushed a commit that referenced this pull request Oct 16, 2025
ncave pushed a commit that referenced this pull request Oct 25, 2025
ncave pushed a commit that referenced this pull request Nov 11, 2025
ncave pushed a commit that referenced this pull request Nov 11, 2025
ncave pushed a commit that referenced this pull request Nov 21, 2025
Sign up for freeto 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.

2 participants

@alfonsogarciacaro@ncave