I BET IT IS THIS ONE => red squiggles on valid code <= I BET IT IS THIS ONE #673

fommil opened this Issue Oct 23, 2014 · 0 comments


None yet
1 participant

fommil commented Oct 23, 2014

This is a gather-all ticket.

Basically we are relying on the scala compiler's interactive mode, also known as the presentation compiler. It is known to have loads of corner case problems and unfortunately these manifest themselves as false positives in ENSIME.

The best thing you can do is report a ticket at https://issues.scala-lang.org/ with a minimal failure case as per http://scala-ide.org/docs/dev/testing/presentation-compiler-tests.html or consider investigating further and submitting a fix via https://github.com/typelevel/scala

If the problem arises from a macro or compiler plugin (e.g. shapeless), you may wish to get involved with the workaround discussed at https://github.com/fommil/imaginary-friend

@fommil fommil closed this Oct 23, 2014

@fommil fommil added the Won't Fix label Oct 23, 2014

@fommil fommil referenced this issue in ensime/ensime-emacs Sep 22, 2015


false positives on ? type in cats #239

@fommil fommil referenced this issue in ensime/ensime-atom Feb 8, 2016


Ensime shows a lot of fake errors. #153

@fommil fommil changed the title from red squiggles on valid code to I BET IT IS THIS ONE => red squiggles on valid code <= I BET IT IS THIS ONE Feb 17, 2016

@fommil fommil removed the FAQ label Feb 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment