Rudy Ges
Rudy Ges
Well, hmm * Latest vshaxe release still doesn't support Json RPC diagnostics (merged but not released) * The number of people that have actually used Json RPC diagnostics is likely...
Note that such a config option wouldn't work with Haxe 5 (and, more importantly, would make diagnostics fail if vshaxe tries to honor it on a Haxe version where this...
It does indeed. Do we want to merge this for 5.0 preview, or later?
Well there's https://github.com/HaxeFoundation/haxe/pull/11740 but that's more an issue with _multiple file_ diagnostics.
Hmm, there's a bit of an issue here :sweat_smile: Since display tests are now running for both xml and json rpc (since #11506), it's a bit of a mess to...
Might be too much trouble to do it by steps because of this. I think there's still a couple of missing rpc endpoints, will check all that
@Simn any idea how this could be handled?
Flushing between each `actx.classes` load seems to do the job, but will have to watch out for new issues.. Edit: only test failure detected so far: ``` Done running 664...
"Normal" typing order: * Main * foo.Foo * => build macro, with defineType * Baz * => FooData is built But when adding `Baz` to `actx.classes`, we get: * Main...
Difference is each of those types referenced in command line / display files / main are loaded without flushing there: https://github.com/HaxeFoundation/haxe/blob/b537e996f67222d004fd9fb26f229920a140ef75/src/compiler/compiler.ml#L311 So build macros don't happen early enough