HaxeFoundation / haxe

Haxe - The Cross-Platform Toolkit
https://haxe.org
6.14k stars 656 forks source link

Diagnostics prevents macros from being updated #11695

Closed kLabz closed 3 months ago

kLabz commented 3 months ago

macro3

[Legacy] diagnostics update m_time for Macros.hx so during next compilation, compiler thinks the cached module is up to date but macro result hasn't been updated during diagnostics. Json RPC diagnostics do not cause this issue.

I will open a PR fixing this soon