0

When inspecting this code:

def getFilmById(filmId: Long) = quote {
  query[Film].filter(f => f.film_id == lift(filmId))
}

ensime shows an error in place of opening brace:

an expression of type Null is ineligible for implicit conversion

The application compiles and query is generated properly, only editor marks it as a compile error.

I'm using quill 3.1.0, ensime 2.5.1, emacs 26.2-1 scala 2.12.8.

I expect no compilation error shown in editor.

Andronicus
  • 25,419
  • 17
  • 47
  • 88
  • Bugs should be reported at bug tracker http://ensime.github.io/editors/emacs/troubleshooting/ – Dmytro Mitin Aug 27 '19 at 19:26
  • @DmytroMitin I didn't know if that's a bug or just something missing in my code. I'm just starting with ensime, but thank you. – Andronicus Aug 28 '19 at 03:41
  • You wrote "The application compiles and query is generated properly, only editor marks it as a compile error." This means it can't be something missing in your code. – Dmytro Mitin Aug 28 '19 at 05:44

0 Answers0