tek / splain

better implicit errors for scala
MIT License
370 stars 29 forks source link

use in interactive compiler? #2

Closed fommil closed 5 years ago

fommil commented 7 years ago

This looks very useful. He you think it'd be possible to have the implicit messages wired up to the reporter to use range positions? I'd like to see if we could get this working in ensime for instant feedback.

fommil commented 7 years ago

(btw we have support for ensime compiler plugins now... so a different plugin could be used for the build vs ide)

tek commented 7 years ago

I'm open to anything, but the monkey-patching nature of the plugin makes it a pretty unreliable basis for use in wider application scales like ensime. @milessabin already suggested PRing this to the compiler itself, maybe that's a better foundation for the whole endeavour. in any case, why don't you elaborate a bit, I haven't learned the dynamics of the reporter yet.

andyscott commented 7 years ago

+1 @tek Please PR this to scalac