Fable: [REPL2] printf doesn't compile with optimizations enabled

Created on 25 Sep 2018  路  6Comments  路  Source: fable-compiler/Fable

__EDIT:__ it does compile, this seems to only be an issue in the editor?


grafik

grafik

grafik

Most helpful comment

Yes let鈥檚 implement the Konami code 馃槣

All 6 comments

Yeah, that's why the "Optimize" function is experimental, it's still missing some replacements ;) I'm not sure if we will follow this path or just disable the option. It seems that many of the FCS optimizations are very focused on .NET and others (like inlining properties) don't have a big performance impact in the generated JS.

At this point it may be better to focus on Fable optimizations, what do you think @ncave?

@alfonsogarciacaro You can make the FCS optimization harder to find, if you think too many people are tripping over it. It would be nice to still be able to access it in some form, at least as a compiler option.

Yes let鈥檚 implement the Konami code 馃槣

@alfonsogarciacaro Let's keep it for now, I'll look into adding this replacement.

Fixed in #1574

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krauthaufen picture krauthaufen  路  3Comments

tomcl picture tomcl  路  4Comments

MangelMaxime picture MangelMaxime  路  3Comments

forki picture forki  路  3Comments

et1975 picture et1975  路  3Comments