Fable: REPL regression in 1.3.8

Created on 28 Feb 2018  路  15Comments  路  Source: fable-compiler/Fable

@alfonsogarciacaro There seems to be a repl regression in 1.3.8 (but 1.3.7 is fine). Just mentioning it so you would know about it when merging into 2.0.

Most helpful comment

We've stopped work on the REPL as we're focusing on Fable 2. When it's ready will try to compile the REPL and if we've done a good job, hopefully it'll be easier to solve these problems :)

All 15 comments

Thanks @ncave! Well, at the end there'll be so many changes in 2.0 that new bugs we'll probably eat up any regression :wink: Of course, I'll make sure all tests pass before trying to compile the REPL with 2.0.

@alfonsogarciacaro Happy hunting!

The issue is still there in v1.3.12, so the last working version is 1.3.7.

Do you mean the fact that the REPL is not building right now or is it something else?

@alfonsogarciacaro No, it builds, but there is some regression introduced in 1.3.8 that breaks list iterators. This is just FYI, in case you need to build REPL in the mean time (use 1.3.7), and v2.0 is probably going to be very different.

I tried to compile the REPL with tag 1.3.7 but tooltips failed cause Fable.JS.Interfaces was not in sync anymore. I used latest master instead and it's working (but with some failures).

@alfonsogarciacaro What I mean is, compile latest Fable REPL (master) using Fable 1.3.7.
I have only compiled FCS this way, not Fable+FCS, but it should work (1.3.8+ definitely does not work).

Ah, ok! Now I understand 馃槄 Hmm, this is weird, I do get an SO error when trying to build Fable locally, but latest commit from master successfully built the REPL in Appveyor using Fable 1.3.14 馃

@alfonsogarciacaro As already mentioned above, building with v1.3.8+ will build fine, but the resulting javascript code throws a runtime error, something about list iterators.

Thanks again @ncave! I finally followed your advice properly and now the tooltips in the REPL are working much better (still some errors here and there) 馃樃

Yeah I'm hitting the SO issue too 馃樋

Process is terminating due to StackOverflowException.
ERROR: Unexpected end of JSON input

Where are you getting that @TheAngryByrd? Are you trying to build the REPL too?

@alfonsogarciacaro I'm basically hitting the point with fantasy that I'll need to compile @ncave 's fork on the F# Compiler to get access to certain APIs instead of just relying directly on the precompiled REPL bits. I tried building the REPL too as a comparison and it gave the same result.

We've stopped work on the REPL as we're focusing on Fable 2. When it's ready will try to compile the REPL and if we've done a good job, hopefully it'll be easier to solve these problems :)

Closing a REPL is using Fable 2 for a while now :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomcl picture tomcl  路  4Comments

SirUppyPancakes picture SirUppyPancakes  路  3Comments

nozzlegear picture nozzlegear  路  3Comments

ncave picture ncave  路  3Comments

MangelMaxime picture MangelMaxime  路  3Comments