Fable: Repl doesn't contain builtin Result type

Created on 1 Oct 2017  路  5Comments  路  Source: fable-compiler/Fable

repl link

And if I added manually, it raised strange error: repl link

Most helpful comment

@alfonsogarciacaro Export and netcore 2.0 metadata support added, see repl issue 2.

All 5 comments

Ups, probably we're using an old FSharp.Core assembly which doesn't contain the new Result type. @ncave What was the way again to generate the assemblies only with metadata? if I take a normal FSharp.Core build (for .NET framework) is too big: around 2.5MB vs 804KB for the current one being used in the REPL.

@alfonsogarciacaro It's not 800k, more like 1.32 MB (still needs the sigdata), but I get your point. Let me see if I can rebase the export branch to the current FCS so it can be used again, as there have been quite a lot of changes in FCS.

That'd be awesome, @ncave, thank you! BTW, @zaaack you should be able to use the custom Result. It seems the FSharp.Core used in the REPL is also missing Map.count, if you replace L55 with if msgMap.Count <> 0 then it works.

@alfonsogarciacaro Export and netcore 2.0 metadata support added, see repl issue 2.

This is working now :)

Was this page helpful?
0 / 5 - 0 ratings