Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fable #160

Merged
merged 2 commits into from
Nov 11, 2020
Merged

Fable #160

merged 2 commits into from
Nov 11, 2020

Conversation

njlr
Copy link
Contributor

@njlr njlr commented Nov 11, 2020

This PR adds basic Fable compilation and tests.

Unfortunately not everything is ported to Fable due to missing things like System.Threading. These are hidden behind preprocessor conditionals (#if !FABLE_COMPILER). However, simple things like Queue do work.

Fable emits warnings when you do type-tests on generics. To make it easier to avoid these, I implemented IEquatable<'t> for some of the collections.

To run the Fable tests:

cd ./tests/fable
yarn install
yarn test

I'm not sure if the maintainers are willing to accept this PR given how much is broken. Perhaps this can be a starting point we can build from?

@njlr njlr mentioned this pull request Nov 11, 2020
@jackfoxy
Copy link
Contributor

@njlr pleas look at the appveyor results
Travis build is always bad, there is an open issue for it, so I am not concerned about travis results

@jackfoxy
Copy link
Contributor

Looks like all tests passed. Happy to review and merge this, thanks @njlr

@jackfoxy jackfoxy marked this pull request as ready for review November 11, 2020 21:44
@jackfoxy jackfoxy merged commit b9cf8f3 into fsprojects:master Nov 11, 2020
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.

None yet

2 participants