Make scry resilient to compiler errors
faustinoaq opened this issue · 2 comments
faustinoaq commented
After discussing with @RX14 on #104 I got the idea of modify the crystal compiler to ignore build errors and get implementations, symbols, hover even if you have a diagnostic with 200+ problems.
This way we can work pretty much like C# and Java IDEs 🎉
See: #104 (comment)
faustinoaq commented
As I said on #104 (comment). I guess ignoring build errors inside crystal compiler is a bit complex. So I think we can try to fix the analyzed code or comment out the lines with errors to ensure crystal tool to return some non-diagnostic response.
kingsleyh commented
This is still an issue:
[Error - 10:14:56 AM] A error was found while searching implementations
Unexpected char 'W' at 1:1
Warning: Gzip is deprecated, use Compress::Gzip