@Leland Richardson [G] Could the new stability inference be exposed in the front-end/IDE, if it makes sense to show it in a way or another?
Based on your response to @Yann Badoual's question here:
https://youtu.be/cSv8HxfLCbs?t=2062▾
it seems that this possibility has been removed from the current compiler plugin APIs, but it's not clear why. Is that something that could come back with the new FIR once it's ready?
l
Leland Richardson [G]
11/23/2020, 4:45 PM
The extension points that are available to us did not let us expose it to the frontend very easily. I tried going down that path first, but had to refactor everything as it just wouldn’t work reliably. The unfortunate side effect is that in order to expose this information in the IDE, we would have to duplicate the inference “algorithm” in the frontend
This is entirely possible, as the algorithm isn’t very complex, but i will probably wait a bit to do something like this for when we are confident that the algorithm doesn’t need to change