fable-compiler / repl

Fable online REPL
http://fable.io/repl
MIT License
61 stars 34 forks source link

PHP missing in repl4 #157

Open Happypig375 opened 1 year ago

alfonsogarciacaro commented 1 year ago

I try to add it but it's failing compilation :/ The problem with the PHP target is it's not maintained at the moment so we may have to remove it at one point.

MangelMaxime commented 8 months ago

I didn't try yet to activate PHP on Fable Repl4 with the new build.

But my guess is the compilation fails because of duplicate class member:

CleanShot 2023-11-10 at 23 58 06@2x

This is the result of compilation fable-standalone with esbuild now.

The first warning GetOutputPath is related to the Fable plugin interface so it is not too harmful, however the others warnings are all related to the PHP target. And I suppose they are harmful, because JavaScript doesn't have method overload for classes and I suppose the code just doesn't know what is happening.